Search found 2 matches
- 2015-10-13T13:43:11-07:00
- Forum: PerlMagick
- Topic: imageToBlob() on multi-page PDFs?
- Replies: 1
- Views: 17769
Re: imageToBlob() on multi-page PDFs?
Don't worry, I'm an idiot. My earlier tests with casting to an array gave an array length of 1. But of course that means 2 in perl. So to modify my above code example, the last line should be: @newValue = $image->ImageToBlob(); print "Number of pages: " . $#newValue + 1; I'm then able to iterate ...
- 2015-10-13T12:49:47-07:00
- Forum: PerlMagick
- Topic: imageToBlob() on multi-page PDFs?
- Replies: 1
- Views: 17769
imageToBlob() on multi-page PDFs?
Hi, I'm using PerlMagick to try convert multi-page PDFs into separate PNG files. I'm using the imageToBlob() method but am only getting the last page of the PDF file in the blob. Having Googled a bit I've seen reference about casting the result to an array (@) but I still seem to get a single ...