can create jpg from 2nd page of pdf, but not first

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
travelgeek

can create jpg from 2nd page of pdf, but not first

Post by travelgeek »

I can create a thumbnail of the 2nd page of http://www.j105.org/docs/test.pdf using the following command:

convert test.pdf[1] -resize 30% -crop +0-160 -quality 90 test.jpg

However, I receive this error...

convert: Postscript delegate failed `test.pdf'.
convert: missing an image filename `test.jpg'.

...when I try to create a thumbnail of the first page using "convert test.pdf[0] -resize 30% -crop +0-160 -quality 90 test.jpg". I'm thinking it may be due to the image used on the page, so I've tried adding "-colorspace rgb -units PixelsPerInch" options, but nothing seems to work.

Using PHP Version 4.3.9 and ImageMagick 6.0.7 07/25/08 Q16.

Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: can create jpg from 2nd page of pdf, but not first

Post by magick »

Your PDF converted without complaint for use. We're using ImageMagick 6.6.2-6 and Ghostscript 8.71.
travelgeek

Re: can create jpg from 2nd page of pdf, but not first

Post by travelgeek »

Thanks for your help. I'll see if we can get upgraded.
Post Reply