[poppler] Can Poppler display coordinates of images in a PDF?

Albert Astals Cid aacid at kde.org
Sat Mar 7 13:21:32 PST 2009


A Divendres, 6 de març de 2009, Robert Hawkins va escriure:
> Is Poppler able to output the (x,y) coordinates of images embedded in PDFs?
>  That is, if a PDF has an image at the bottom of one page and another image
> at the top, can Poppler describe these boundaries?
>
> I know of two ways to extract the images from the PDF:
> (1) pdfimages
> (2) pdftohtml
>
> (1) seems to produce just the images
> (2) produces page-sized images, with the embedded images positioned where
> they appear in the PDF
>
> Neither seems to describe the boundaries of the embedded images.  I also
> looked through this mailing list's archives but did not find anything
> relevant matching 'images' / 'coordinates' / 'location'.  Any guidance
> would be appreciated.

You need to do some coding (not much, but some anyways) for that, as far as i 
know none of the binaries does that.

Albert

>
> Regards,
>
> Rob




More information about the poppler mailing list