Shale
19 Apr 2012, 9:59 AM
Has anyone else tried running pngcrush on the png files in sencha touch 2 sdk? It seems like there's a decent savings to be had. After running pngcrush on the contents of the resources/themes/images/default/pictos/ with this command
pngcrush -d crushed -rem tIME -rem zTXt -rem tEXt -rem iTXt -rem gAMA -rem cHRM -rem iCCP -rem sRGB -brute pictos/*.png
the size shrinks about 30%
$ du -b pictos/ crushed/
528024 pictos/
365838 crushed/
Maybe the above pngcrush command removes too much? Are there chunks that shouldn't be removed?
pngcrush -d crushed -rem tIME -rem zTXt -rem tEXt -rem iTXt -rem gAMA -rem cHRM -rem iCCP -rem sRGB -brute pictos/*.png
the size shrinks about 30%
$ du -b pictos/ crushed/
528024 pictos/
365838 crushed/
Maybe the above pngcrush command removes too much? Are there chunks that shouldn't be removed?