]>
git.saurik.com Git - cydia.git/blob - pngcrush.sh
9 steps
+=($(stat -f "%z" _.png))
12 pngcrush
=/Developer
/Platforms
/iPhoneOS.platform
/Developer
/usr
/bin
/pngcrush
14 grep CgBI
"${png}" &>/dev
/null
&& exit 0
16 step
cp -fa "${png}" __.png
18 #step "${pngcrush}" -q -rem alla -reduce -brute -iphone {,_}_.png
20 #step "${pngcrush}" -q -rem alla -reduce -brute {,_}_.png
21 #step pincrush {,_}_.png
23 step
"${pngcrush}" -q -rem alla
-reduce -iphone {,_
}_.png
25 #"${pngcrush}" -q -rem alla -reduce -brute -iphone "${png}" 1.png
26 #"${pngcrush}" -q -iphone _.png 2.png
32 for ((i
= 0; i
!= ${#steps[@]}; ++i
)); do
33 if [[ $i != 0 ]]; then
40 printf $
' %.0f%%\n' "$((steps[${#steps[@]}-1] * 100 / steps[0]))"