Description: Original image size off after compression Steps to Reproduce: 1. Open the attached file 2. Select the image 3. Format -> Images -> Properties -> Type tab 4. Press original size (shows for me 16,93 x 12,7) 5. Press Cancel 6. Format -> Image -> Compress 7. Uncheck Reduce image resolution. Leave the rest alone & press OK 8. Format -> Images -> Properties -> Type tab 9. Press original size Between 5.0.6.4 - and 5.4 (0,64 cm x 0,48 cm) With 6.0 and up (21 x 17,07 cm) Fine with 4.4.7.2 (16,93 x 12,7) Actual Results: Wrong dimensions Expected Results: Proper dimensions Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha0+ (x64) Build ID: f845f74afaf087a46c82ee4209e29caca0980b71 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc: CL
Created attachment 160183 [details] Example file
Thank you for reporting the bug. I can confirm the bug present in Version: 6.4.0.0.alpha1+ (x86) Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Bibisected using bibisect-win32-5.2 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=f8355221ae62b89a706f2d04b63eda658f3ccfa5 author: Chris Sherlock <chris.sherlock79@gmail.com> committer: Tomaž Vajngerl <quikee@gmail.com> summary: tdf#85761 vcl: JPEG export does not save PPI values correctly Adding Cc: Chris Sherlock