I have a Libreoffice Writer document that contains lots of clickable links to photos on my hard drive (links created via the path statement in an ‘insert link>document’ dialogue).
Apparently, the orientation of pictures is managed in exif metadata. If you take a landscape photo, then the origin (pixel 0,0) is designated ‘top-left’ by default. If you turn your camera around and take a photo of a tall thin object, modern cameras will set the exif metadata so that 0,0 is now designated as ‘bottom left’ (meaning that the photo gets displayed in Portrait orientation). Also, if you took the picture on an older camera (without awareness of its oprentation), then transferred your photo to a computer, then used the computer’s operating system to rotate it from (the default) Landscape to (your desired) Portrait orientation, then this is achieved by the computer changing the exif field for pixel 0,0 from ‘top left’ to ‘bottom left’. So far, so good.
When I open my Portrait photos by clicking the links from my Libreoffice Writer document, they open in Portrait (as they should). However, when I export the Writer document to PDF, the Portrait photos get opened in Landscape (unwantedly ‘unrotated’ through 90 degrees).
It seems like the ‘export to PDF’ process is stripping the exif metadata about orientation (whether the 0,0 pixel is (top left vs. bottom left)).
Is there some setting I am missing in the ‘Export to PDF’ dialog or is this a bug?
thanks
p.s. Note that these are not photos embedded in the document, they are hyperlinks to files on my PC, which open [REDACTED in Windows REDACTED] in new tabs in my PDF reader (Sumatra) when cntl-clicked. The actual file open fine in Windows and Writer, just not in the PDF export.
thanks
Version: 6.4.3.2 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win;
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded
Windows 10 home (latest) 64bit