smalot / pdfparser

PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.
GNU Lesser General Public License v3.0
2.3k stars 534 forks source link

Image position relative to pages (Or text if possible) #694

Open Loai-Hassan opened 3 months ago

Loai-Hassan commented 3 months ago

I cannot get the images in relation to the page it exists in when I used getobjectbytype on a page instance it returned an error I think I should be able to identify what page the image lies in

also any solution to get the positon of an image within the page in relative to the text

k00ni commented 3 months ago

Can you provide us the PDF + the error it returned?