How can I detect an image inside PDF page?
I'd like to detect if the PDF file has an image inside the textual information and crop the area with this image. Let's say, if the page of the PDF has just plain text, then crop just a top area of that page, but if the page contains the image, then crop an area with this image centred. Is that actually possible?
-
Official comment
Hi Maksym.
Thanks for your question.
I'm afraid image detection in PDFs isn't something that we support at this time. If you know the coordinates of an image within a PDF file then you could use our resizing and cropping methods to extract the image manually, but sadly we don't offer an automated way to extract images from PDFs.
If you have any other questions or if there's anything we can do to help, please feel free to reply to this threat or open a ticket via our support center.
Thanks,
-Danny
Post is closed for comments.
Comments
1 comment