Error PDF nuber of pages export (test.pdf[0-x] )

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
maartenk

Error PDF nuber of pages export (test.pdf[0-x] )

Post by maartenk »

Hi All,
I've got a problem / bugg when I'm trying to export pages from a PDF to JPEG.
When I open the PDF file in a reader, every thing looks fine.
All the pages are properly numbered.

Now whene I try to export the first couple of pages, lets say 10, I end up with 3 images :
page0.jpg,page4.jpg an page8.jpg

The rest of the pages isn't exported
page0.jp is the first page of the PDF,
page4.jp is the second page of the PDF,
page8.jp is the third page of the PDF.

I use this code.

ps. When I export the hole PDF the file numbering is also messed up ( up to page140.jpg while the PDF has only 36 pages)

Code: Select all

exec('convert -density 200x200 -thumbnail 300x mypdf.pdf[0-10] page.jpg');
Does anyone has an idear?

Cheer and take care.
maartenk

Re: Error PDF nuber of pages export (test.pdf[0-x] )

Post by maartenk »

anybody?? :? :cry:
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Error PDF nuber of pages export (test.pdf[0-x] )

Post by anthony »

Example PDF?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply