Description: No DPI setting written when compressing an image to PNG Steps to Reproduce: 1. Open attachment 1606952 2. Format -> Image -> Compress. Pick 300 DPI for both images 3. Save the file 4. Rename the file to zip. Open it. Open the image in Irfan view -> notice missing DPI Actual Results: No DPI written Expected Results: Should be so Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha0+ (x64) Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc: threaded
Also in 4.4.7.2
Same happens for "Save" from context menu.
Should we save the dpi ? I mean the dpi has a meaning when we're compressing the image, depending on its dimensions when LO achieves the compression. However, later the image dimensions into the document can change but the dpi into that image won't be coherent.
(In reply to Jérôme from comment #3) The number of pixels won't change by setting a DPI value into the PNG.. The image only gets file dimensions based on the DPI setting. The image can change in size indeed, downsizing would increase the actual DPI. Enlarging decrease the actual DPI based on the file settings.. However.. factual nothing changes.. everything is the same pixel wise. But yes the whole pixel/dpi matter is quite confusing.. Even more if we take screen resolution in account.. But he, not an expert on dimensions/dpi. Expect images without resolution get different dimensions depending on screen resolution. And even messes with crop (see some bugs in Image-DPI meta bug)
Looks OK Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 42c5506a9e9ef58efd8193a193464e3b49d481ca CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Open attachment ? Please write and retest.
Dear Telesto, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
attachment 160695 [details]
[Automated Action] NeedInfo-To-Unconfirmed
The code responsible for PNG export / save / compress likely being the same, I am consolidating these "wrong or missing DPI metadata" issues into one. *** This bug has been marked as a duplicate of bug 132959 ***