pdfimages should indicate/correct for image transformations
Submitted by Stewart C. Russell
Assigned to poppler-bugs
Description
Created attachment 105176 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.
Attachment 105176, "2 page PDF scan; displays properly, but extract images and the second page is flipped":
AggravatingDuplexScannerTestScanned.PDF