pdf to image conversion
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: pdf to image conversion
The best way is a PDF utility. The IM way is to read and create 'page images' then count the images. using identify -format %n not very nice.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: pdf to image conversion
I tried to find the page number of .pdf file using:
I got correct page number of the .pdf file that contains images but the problem is with the .pdf files that contains text. I can see 6 pages in .pdf but IMagick returns only page 4 with lots of error messages..Error messages also can't be made quiet with -quiet option. I want to know, ImageMagick can't handle .pdf files that contains text?? Any help will be appreciated..
With Regards,
Prakash Rai
Code: Select all
identify -format %n text.pdf
With Regards,
Prakash Rai
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: pdf to image conversion
Actually it is probably more like you current ghostscript can't handle the PDF. IM calls ghostscript to do the convertsion of postscript, and PDf to a raster image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: pdf to image conversion
Thank You for your reply..And hope this problem will be solved in near future..
With Regards
Prakash Rai
With Regards
Prakash Rai