Created attachment 105176 [details] 2 page PDF scan; displays properly, but extract images and the second page is flipped (This enhancement might be really hard to do, as I realize that objects stored in a PDF data stream can have arbitrary transformations applied to them.) My duplex scanner scans odd pages top-to-bottom, and even pages bottom-to-top. When it generates PDF output, though, it corrects for this by inserting a '/Rotate 180' on every second page. When pdfimages extracts the bitmaps, it doesn't take this rotation into account, and so every other extracted page is flipped the wrong way up. Is there any way that this problem can be corrected in the output, and/or shown in the -list output, please? I've attached a small example.
Apologies; the file doesn't use /Rotate, but the cm transformation operator on even pages: -596 0 0 -771 604 784 cm for a Letter-sized scan. This probably makes it harder to detect.
pdfimages is intended to extract embedded images from a pdf. If you want see the the rendered view of the images you can use pdftoppm or pdftocairo to render pages.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/399.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.