Converting PDF to JPG: problem w/images inside the PDF
Posted: 2012-10-25T02:02:03-07:00
Hello,
I'm converting PDFs to sequences of JPGs.
Images inside the PDF are not rendered well. I think there is some problem in scaling, and artifacts appears.
Below is an explaining image with two portiong of a JPG obtained from PDF.
On the left side the result is from Photoshop. On the right from ImageMagick (look at diagonal lines)
The issued command that generated the PDF with ImageMagick was
convert -colorspace sRGB -quality 92 -density 75 -strip /Users/paolo/Desktop/test/test.pdf /Users/paolo/Desktop/test/test.jpg
(In case it may be usefull to know: the image inside the PDF, is CMYK, 90 dpi, with Jpeg compression, so ImageMagick is actually performing a downsample).
Kind regards,
Paolo.
I'm converting PDFs to sequences of JPGs.
Images inside the PDF are not rendered well. I think there is some problem in scaling, and artifacts appears.
Below is an explaining image with two portiong of a JPG obtained from PDF.
On the left side the result is from Photoshop. On the right from ImageMagick (look at diagonal lines)
The issued command that generated the PDF with ImageMagick was
convert -colorspace sRGB -quality 92 -density 75 -strip /Users/paolo/Desktop/test/test.pdf /Users/paolo/Desktop/test/test.jpg
(In case it may be usefull to know: the image inside the PDF, is CMYK, 90 dpi, with Jpeg compression, so ImageMagick is actually performing a downsample).
Kind regards,
Paolo.