jawadi121 / smart-lencioni-image-resizer

Automatically exported from code.google.com/p/smart-lencioni-image-resizer
GNU General Public License v3.0
0 stars 0 forks source link

Convert PNG to 8-bit if transparency is not needed #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To optimize images, if a background fill color is specified (and thus 
transparency is definitely not needed), convert the PNG to 8-bit.

See imagecolormatch() and imagetruecolortopalette() maybe.

Original issue reported on code.google.com by joe.lencioni on 15 Apr 2010 at 2:56

GoogleCodeExporter commented 9 years ago
This might be helpful 
http://perplexed.co.uk/1814_png_optimization_with_gd_library.htm

Original comment by joe.lencioni on 31 Jan 2011 at 5:00

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r158.

Original comment by joe.lencioni on 31 Jan 2011 at 6:05