PDF to JPG is of bad quality
Posted: 2008-10-10T13:08:05-07:00
I have to convert 64 PDF files to JPG for work.
I received help previously with my CMYK/RGB colourspace problem, but now I have another problem: quality.
Previously this type of conversion was done by some sort of proprietary Windows program, but now I'm assigned to the task and want to use my Linux PC with ImageMagick.
The current command I use is:
adding a couple more options, such as:
makes no change in the image or file size.
The text seems to be very blurry on some of the PDFs compared to whatever this proprietary Windows program they used outputed.
I'm using Ubuntu 8.04.1, ImageMagick '6.3.7 02/19/08 Q16' and Ghostscript '8.61 (2007-11-21)'.
PDF I need to convert: http://staging.altonlabs.com/imagemagick/new.pdf [5.4 MB]
Image converted with ImageMagick: http://staging.altonlabs.com/imagemagick/new.jpg [265 kB]
Old image converted with Windows proprietary software: http://staging.altonlabs.com/imagemagick/old.jpg [290 kB]
Is there an option I'm missing?
I received help previously with my CMYK/RGB colourspace problem, but now I have another problem: quality.
Previously this type of conversion was done by some sort of proprietary Windows program, but now I'm assigned to the task and want to use my Linux PC with ImageMagick.
The current command I use is:
Code: Select all
for file in `ls *.pdf`; do
convert -colorspace RGB $file -resize 800 `echo $file | sed 's/\.pdf$/\.jpg/'`
done
Code: Select all
for file in `ls *.pdf`; do
convert -colorspace RGB $file -resize 800 -interlace none -density 300 `echo $file | sed 's/\.pdf$/\.jpg/'`
done
The text seems to be very blurry on some of the PDFs compared to whatever this proprietary Windows program they used outputed.
I'm using Ubuntu 8.04.1, ImageMagick '6.3.7 02/19/08 Q16' and Ghostscript '8.61 (2007-11-21)'.
PDF I need to convert: http://staging.altonlabs.com/imagemagick/new.pdf [5.4 MB]
Image converted with ImageMagick: http://staging.altonlabs.com/imagemagick/new.jpg [265 kB]
Old image converted with Windows proprietary software: http://staging.altonlabs.com/imagemagick/old.jpg [290 kB]
Is there an option I'm missing?