Reading page XX of a 99 page PDF doc using perl Image::Magick
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <20100309102406.7PX61.301875.root@ispmxfep12-z02> |
I need to read a specific page of an arbitrarily large PDF (or tiff),. I've been through the manual, and I do not see any good way of specifying a specific page using Read() or ReadImage(). Is there any way to do this via Image::Magick instead of using pdftk? If I could do that, then my memory needs go way down from the 1.5GB RAM I have in memory now. While I can read my test document in and run it, deleting each page as I work it, my scanners may scan up to 1,000 pages in a batch, and I'd imagine that would take a lot more memory than I have.