Optimize images with pngcrush
Closed this issue · 1 comments
deathcap commented
80-90% file size reduction in most cases, not bad at all: (removing ancillary chunks/text + recompressing idat)
example:
Best pngcrush method = 7 (ws 11 fm 0 zl 9 zs 0) = 102
for output to /tmp/textures/items/apple.png
(24.44% critical chunk reduction)
(91.55% filesize reduction)
full log https://gist.github.com/deathcap/8467663
total size of textures:
before: 708,255 bytes
after: 86,649 bytes
archived before: RP: 789 KB, TP: 620 KB, SP: 51 KB
archived after: RP: 163 KB, TP: 114 KB, SP: 42 KB
percentage decrease: 79%, 81%, 17%
same quality, too: