Page 2 of a PDF
Mac Bennett
mac at mauraoconnell.com
Thu Apr 4 20:56:49 EDT 2013
I've been using "pdfimages" one of the tools that comes with "xpdf"; I am using Livecode shell calls to batch process a hundred or so pdfs of old letters which were scanned as pdf. From the commandline, pdfimages outputs numbered jpg or ppm files of each page in multipage pdfs.
(Note: this only works with images inside pdf files, not actual pdf text; xpdf has a tool "pdftoppm" which outputs raw images of multipage pdfs; but I haven't tried it.)
xpdf webpage: http://www.foolabs.com/xpdf/index.html
Mac
On Apr 4, 2013, at 2:35 PM, Ray Horsley <ray at linkit.com> wrote:
> I believe this has come up before but don't I see any way to convert page 2, page 3, etc. of a PDF to a PNG or JPEG via snapshot using either revBrowser or a player object. A browser object doesn't seem to display a specified page at all, and while I can manually scroll through a PDF using a player object I can't control from a script which page of the PDF the player object is displaying. The end result is to convert a single PDF to multiple PNG's or JPEG's. Suggestions? Thanks!!!
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list