Description: If you export a document, draw or slide to PNG the metadata corresponding to the resolution information is not stored in the generated PNG. Steps to Reproduce: 1.Open a empty document in writer 2.Select File/Export and select PNG in Filter 3.In the dialog that appear, select modify resolution radio button and set to 400 pixels/inch and press OK 4.Open the generated PNG with Gimp and test the metadata by Image/Metadata menu. Actual Results: Always return 300 Expected Results: The specified value of 400 Reproducible: Always User Profile Reset: No Additional Info: If you export to JPG the resolution information is stored correctly, so there are something wrong in the PNG export process.
Confirm with Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 578758835e700b38b167753ccda9527f3a8cc43b CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Version: 4.1.0.0.alpha1+ Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40
The code responsible for writing metadata on 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 ***