6.0.0-beta1
9/18/25

[#5786] optimize png files
Summary optimize png files
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester pedretti (at) eco (dot) unibs (dot) it
Created 10/09/2007 (6554 days ago)
Due
Updated 10/09/2007 (6554 days ago)
Assigned
Resolved 10/09/2007 (6554 days ago)
Milestone
Patch No

History
10/09/2007 06:41:41 PM Chuck Hagenbuch Comment #5
State ⇒ Resolved
Reply to this comment
Then they'll be in Horde 3.2 and associated apps.
10/09/2007 04:19:11 PM pedretti (at) eco (dot) unibs (dot) it Comment #4 Reply to this comment
Which pngs are not optimized? Most of them have been run through
pngcrush at one point or another.
Nearly all pngs can be optimized: with only optipng on some png even
over 78% (e.g. ./themes/graphics/block/down.png) with a mean of about
30%, and then with advdef another some %.
Sorry I just noticed that optimized png are in HEAD, but not in stable.
10/09/2007 03:59:45 PM pedretti (at) eco (dot) unibs (dot) it Comment #3 Reply to this comment
Which pngs are not optimized? Most of them have been run through
pngcrush at one point or another.
Nearly all pngs can be optimized: with only optipng on some png even 
over 78% (e.g. ./themes/graphics/block/down.png) with a mean of about 
30%, and then with advdef another some %.
And we're not going to convert those gifs to pngs, they're part of
external libraries that we bundle. Modifying them would be a
maintenance nightmare.
OK
10/09/2007 03:50:12 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Which pngs are not optimized? Most of them have been run through 
pngcrush at one point or another.



And we're not going to convert those gifs to pngs, they're part of 
external libraries that we bundle. Modifying them would be a 
maintenance nightmare.
10/09/2007 03:47:29 PM pedretti (at) eco (dot) unibs (dot) it Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ optimize png files
Queue ⇒ Horde Base
State ⇒ New
Reply to this comment
I noticed that png files are not optimized - size can be losslessly 
reduced using optipng [1] and then advdef [2] with:



find . -name "*.png" -exec optipng -o5 '{}' \;

find . -name "*.png" -exec advdef -z -4 '{}' \;



I also noticed there are some gif images that can be converted to png 
to save size in:

./services/editor/htmlarea/images/

./services/editor/htmlarea/plugins/TableOperations/img/

./themes/

and possibly other directories.



[1] http://optipng.sourceforge.net/

[2] http://advancemame.sourceforge.net/comp-readme.html

Saved Queries