http://pastebin.com/Jn9VrkRd
Input file: http://www.blm.gov/pgdata/etc/medialib/ ... 20copy.pdf
I can successfully use a density of 400, but not 600. My initial attempt was 1600. This provides 'OK' quality, but I want to create a raster image with better quality, and yeah I know that the size of the image is going to be fairly large.
Am I running out of memory? Do I need to increase the size of my swap partition?
Failing with high density, pdf to png conversion
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Failing with high density, pdf to png conversion
what is your exact command?
Have you tried
convert -density 1600 image.pdf -resize 4.5% result.png
where
72/1600 = 4.5%
This does supersampling to get high quality result.
But 1600 is rather high density and will cause large intermediate image, so you could be running out of memory.
Mostly it seems to work reasonably well with
convert -density 288 image.pdf -resize 25% result.png
where
72/288 = 1/4 = 25%
Have you tried
convert -density 1600 image.pdf -resize 4.5% result.png
where
72/1600 = 4.5%
This does supersampling to get high quality result.
But 1600 is rather high density and will cause large intermediate image, so you could be running out of memory.
Mostly it seems to work reasonably well with
convert -density 288 image.pdf -resize 25% result.png
where
72/288 = 1/4 = 25%