Open paddatrapper opened 1 week ago
Interesting! Good to know... we're definitely not checking any PDF metadata on a per-page basis... not even sure how/if https://pdf-lib.js.org/ would have that info...?
Looks like it has some concept of them - https://pdf-lib.js.org/docs/api/classes/pdfpage#getrotation
A page with
PageMediaRotation
present is not correctly rotated in the output signatures. For example a PDF page withPageMediaRotation: 180
should be rotated and be 'upside-down' compared to the other page on the sheet, however this is not the case.An example PDF is here, the first image should be rotated 180 degrees from the second example.pdf
Rotation metadata: