https://bugs.documentfoundation.org/show_bug.cgi?id=153190

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Blocks|                            |117085
                 CC|                            |stephane.guillou@libreoffic
                   |                            |e.org
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Stéphane Guillou (stragu) 
<[email protected]> ---
Reproduced with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f23dae00fedc9d7119b44b6c44d9eca4f8c87b8
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Using default settings in Right click > Compress, clicking "Calculate New
Size", the calculated reduction in size is wrong for a large PNG file of about
48 mb.

Large 47,196 kb file generated with ImageMacick:

   convert -size 5000x5000 xc:gray +noise gaussian large.png

New size will be 20,484 kb but reduction displayed as "-32% reduction".

Not-so-large 16,992 kb file generated with:

   convert -size 3000x3000 xc:gray +noise gaussian not_too_large.png

New size will be 7,376 kb, correct reduction displayed: "56% reduction".


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117085
[Bug 117085] [META] Compress image dialog bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to