Bug 98932

Summary: add "use indexed colours" checkbox in "compress image" dialog
Product: LibreOffice Reporter: Jérôme <jerome.bouat>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: himajin100000, jerome.bouat
Priority: lowest    
Version: 5.0.4.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=158250
https://bugs.documentfoundation.org/show_bug.cgi?id=145160
https://bugs.documentfoundation.org/show_bug.cgi?id=77407
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 117085    
Attachments: screenshot of the "compress image" dialog window

Description Jérôme 2016-03-28 11:51:55 UTC
Created attachment 123900 [details]
screenshot of the "compress image" dialog window

In the "compress image" dialog, I would appreciate an option for using indexed colours when relevant.

For example, the png image format decreases the file size when using 256 indexed colours instead of "real" colours.
Comment 1 Adolfo Jayme Barrientos 2016-03-28 14:19:43 UTC
This is an enhancement request
Comment 2 Jérôme 2019-09-26 20:07:40 UTC
This bug still exists in version 6.3.1.2.
Comment 3 Jérôme 2022-02-26 13:27:56 UTC
Note that this option has to be proposed for PNG output file only.

Besides the checkbox, maybe a "combobox" would define the number of colours in the index : 2, 4, 8, 16, 32, 64, 128, 256. This combobox would be enabled only if the checkbox is selected. The default value could be set to 256.

This bug still occurs with :
Version: 7.2.5.2.0+ / LibreOffice Community
Build ID: 711f8d38e9451cd2fd39b6963d2a3fc166f04cb1
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.utf8); UI: fr-FR
Calc: threaded