You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
T.P.ImageSize could use this information to swap width and height for quarter-turned images (orientations 5-8).
Writers that embed image data into documents where EXIF orientation is not automatically respected can apply transforms when outputting the image, e.g.:
LaTeX graphics/graphicx: \reflectbox and \rotatebox or \includegraphics[angle=90]
Messing around in libreoffice, Exif entirely to the side, there doesn't actually seem to be a way to rotate an anchored-as-character (i.e., inline) image a quarter turn and have it appear both uncropped and at the correct aspect ratio. Apache OpenOffice (does anyone use that?) doesn't even support rotated images. Neat.
To reproduce this issue, I used the images from https://github.com/recurser/exif-orientation-examples/ (see exact markdown below).
In the generated pdf, the images do not have the correct orientation. I get the same result when converting to odt or docx.
Tested with both pandoc 3.1.11.1 (debian trixie) and pandoc 3.5 (docker)
The text was updated successfully, but these errors were encountered: