View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#9
ok...results.

I have just done this on my n900. I started with about 29MB of PNGs in /opt. It has taken around 2 hours and was at optimisation level 7 (highest). This has resulted in the PNGs in /opt being reduced in size to...



...24MB or ~20% in leet speak. I know, it is off the chain. Difference in speed? Unnoticeable. To be fair the majority of my PNGs are map tiles and these cannot be optimised.

So that is a resounding 'meh' from me.

Code:
find ./opt -type f -iname "*.png" -exec ls -l {} \; | awk '{s+=$5}END{print "total: "s" bytes"}'
Code:
find . -iname "*.png" -print0 | xargs -0 optipng -force -preserve -o7
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.

Last edited by vi_; 2011-11-23 at 20:48.
 

The Following 4 Users Say Thank You to vi_ For This Useful Post: