-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flip and rotate images in ODT output
Extensive experimentation with LibreOffice 24.8.3.2 on Mac didn't come up with a way to create an ODT with an image that is displayed uncropped, at the correct aspect ratio, with the correct size of bounding box, after rotating 90° or 270°, while anchored "as character". As of this commit, if the EXIF orientation says an image needs to be quarter-rotated, the solution chosen has a bounding box the original, unrotated size of the image, which displays the image correctly rotated and with the correct aspect ratio, but cropped. It is unknown to this author if this looks correct in other software than LibreOffice. Pandoc doesn't currently pull in any dependencies capable of rotating the actual pixels in image data. Document authors needing to mitigate this issue will have to edit their images themselves.
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters