Created attachment 189770 [details] Preferred-resolution-for-images_test-file I've noticed this new (at least for me :) feature but when I tested it doesn't seem to work at all. It could possibly be me misunderstanding how to use it anyway. 1. Open LibreOffice Writer; 2. Open File -> Properties and then go to "General" tab; 3. Flag the "Preferred resolution for images:" check box; 4. Specify (let's say) 300dpi and then press "OK" on the bottom right; 5. Insert a big image (possibly from a camera) with more than 3000px on its horizontal side; 6. Save the document somewhere and start comparing its file size with the picture file; 7. Close LO and open the document again; 8. Right click on the picture and select "Compress...". Expected behavior: I'd expect to see the horizontal size to have scaled around 2000px and the size accordingly but Actual behavior: The image is exactly as I left it (in my case 6016x4016px, 5756kB).
Right-click on the image, select Properties – [Crop], the resolution it's 300 PPI.
Created attachment 189781 [details] Properties-Crop_detail
(In reply to m.a.riosv from comment #1) > Right-click on the image, select Properties – [Crop], the resolution it's > 300 PPI. Sure: if the paper was ~51cm wide :)
Confirmed in Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded I'm feeling that it is confusing to users. What user (alright, me) expects is have a good resolution (as good as 300 DPI) **in this dimension 481.9x321.7 pt**. But the behavior seems to be that, when setting the Preferred Resolution For Images to 300 PPI it told me "yes, this image is 300DPI when it is 1443.8x963.8 pt" (which means, no, it is not since the images is only 481.9x321.7 pt). I'm not sure if it is a UX problem. And honestly I have no idea what this "Preferred Resolution For Images" property is actually doing. And honestly, the help Preferred resolution for images Check this box to select the preferred image resolution in points per inch, which is used as default when an image is inserted into a Writer, Impress or a Draw document and resize it according to the value in the list box. doesn't help much to let users understand what it is really doing.
The option was introduced by Tomaz per https://gerrit.libreoffice.org/c/core/+/126334 (no BZ reference). To become effective the image needs compression - and I don't see the suggestion to be applied there.
This is not about automatic recompression of bitmap images with too high DPI - it is somewhat related however and could be used for things like this. Setting the preferred DPI does not automatically do anything (yet). If the preferred DPI setting is set it will only enable the "Graphic Size Check..." dialog, where it will go through all the images in the document and warn if the image is too far off from the preferred DPI - yes too low and too high. The issue is that re-compressing the images is not the only way how to lower the DPI of an image in the document - you can just make it bigger in the document to do the same also. A reverse thing can also be done when the DPI is too low - you can make the image smaller (well this is the only thing you can do outside of creating a new one).
Dear Gabriele Ponzo, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
(In reply to Franklin Weng from comment #4) > And honestly, the help > > Preferred resolution for images > > Check this box to select the preferred image resolution in points per inch, > which is used as default when an image is inserted into a Writer, Impress or > a Draw document and resize it according to the value in the list box. > > doesn't help much to let users understand what it is really doing. I've created a separate bug here: https://bugs.documentfoundation.org/show_bug.cgi?id=168924 - to address the help page.