[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-12-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||8250

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

Jérôme  changed:

   What|Removed |Added

 Blocks||113358


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113358
[Bug 113358] [META] Linux packaging/installation/removal bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

Jérôme  changed:

   What|Removed |Added

 Blocks||97991


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=97991
[Bug 97991] Reducing the size of the Windows Installer
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #8 from Jérôme  ---
The palette uses a minimum size inside the png file. Maybe we could use indexed
colours only for non indexed png files which are larger than a given size (400
bytes ?).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #7 from Jérôme  ---
Created attachment 190902
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190902=edit
coulours indexed on  8 bits saves ~562kB in help from main MSI package

>From the LibreOffice_7.6.2_Win_x86-64.msi archive file, I converted all png
files  in "help" folder with ImageMagik with this command :
find . -type f -iname '*.png' -exec convert "{}" -type Palette -define
png:format=png8 -define png:compression-level=9 "{}8" \;

The attachment compares the orignal png files with the new indexed png on 8 bit
with 24 bit colours.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #6 from Jérôme  ---
Created attachment 190901
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190901=edit
colours indexed on 8 bits saves 325 kB in french localized help

Into the LibreOffice_7.6.2_Win_x86-64_helppack_fr.msi archive file.

I converted all png files with ImageMagick with this command :

find . -type f -iname '*.png' -exec convert "{}" -type Palette -define
png:format=png8 -define png:compression-level=9 "{}8" \;

The attachment compares the orignal png files with the new indexed png on 8 bit
with 24 bit colours.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #5 from Mike Kaganski  ---
(In reply to Stéphane Guillou (stragu) from comment #4)
> That's a good point, anything that reduces the size of helppacks (and
> langpacks) is good to take in my opinion...

Not necessarily - if it slows down the processing. I don't know the exact
effect of this change - and it *might* be beneficial generally, if IO dominates
processing the images; but just as well, it could have negative effect, if
conversion from indexed colors to 24 bit would be expensive.

I do not oppose this change - I suspect IO have more impact, so think it would
be a good change; but I think that generalizing like "everything that reduces
size if good" is incorrect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

Jérôme  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=97
   ||991

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

  Component|LibreOffice |Documentation
 CC||cl...@documentfoundation.or
   ||g,
   ||olivier.hallot@libreoffice.
   ||org,
   ||stephane.guillou@libreoffic
   ||e.org
 Whiteboard| QA:needsComment|

--- Comment #4 from Stéphane Guillou (stragu) 
 ---
That's a good point, anything that reduces the size of helppacks (and
langpacks) is good to take in my opinion...

Cloph and Olivier, do you agree? If so, would this be automated somehow when
packaging? Or a bulk conversion to be done on existing pictures, submitted as a
patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-11-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-10-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #3 from Jérôme  ---
The images are in the following directories :
help/media/helpimg
help/media/screenshots

The png image are :
- in the main tree (main MSI archive on Windows)
- in each translation sub-directories (each translated help MSI archive on
Windows).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-10-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

m.a.riosv  changed:

   What|Removed |Added

   Severity|normal  |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #2 from Jérôme  ---
Created attachment 190376
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190376=edit
24 bits colours indexed on 8 bits help/media/helpimg/sd_PresenterConsole02.png

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157885] help png images could use indexed colours

2023-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157885

--- Comment #1 from Jérôme  ---
Created attachment 190375
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190375=edit
24 bits colours help/media/helpimg/sd_PresenterConsole02.png

-- 
You are receiving this mail because:
You are the assignee for the bug.