How to extract the image in JPXDecode #1205
Replies: 2 comments
-
This is a scanned-in page. |
Beta Was this translation helpful? Give feedback.
-
To give you peace of mind, determine the images' rectangles on the page and, if (almost) equal to page.rect, simply make a page pixmap. |
Beta Was this translation helpful? Give feedback.
-
Dear authors,
I am trying your tool to extract images from PDF using the below code
All files are extracted OK, except a PDF file.
Each image in that PDF are saved to 2 strange images
I found that the decode filter of the image is "JPXDecode"
Below is the information I got from doc.getPageImageList(i)
[(85, 0, 1262, 1769, 8, 'DeviceRGB', '', 'Bg', 'JPXDecode'), (87, 86, 631, 885, 8, 'DeviceRGB', '', 'CL', 'JPXDecode')]
Could you help me to explain the reason and guide me on how to fix this issue?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions