How to extract images by their positions in the same page? #1100
Replies: 1 comment
-
Images on scanned PDF pages cover the complete page - obviously. Depending on the scanner hardware, the page appearance is sometimes made up by 2 image objects put upon each other, with transparency, etc. |
Beta Was this translation helpful? Give feedback.
-
I'm extracting images from a scaned PDF. There are sometime more than 1 image on the page and I need to extract them by it's position on the page. For example, a page contains 2 images, I need to a sure way to extract the first image (on the top) first. Is there a way to achieve it?
I'm using doc.getPageImageList(pno) and I've tried sort by xref or natural order, neither could guanrant the order. I'm wondering if I have missed anything?
Beta Was this translation helpful? Give feedback.
All reactions