Merge branch 'OptimizePNG' into 'master'
Compress PNG images losslessly with zopflipng See merge request fdroid/fdroidclient!844
This commit is contained in:
commit
ab81295639
@ -8,6 +8,7 @@ for f in `find $(dirname $0)/../app/src/ -type f -name \*.png`; do
|
|||||||
tmpfile=$(mktemp)
|
tmpfile=$(mktemp)
|
||||||
aapt singleCrunch -v -i $f -o $tmpfile
|
aapt singleCrunch -v -i $f -o $tmpfile
|
||||||
exiftool -all= $tmpfile
|
exiftool -all= $tmpfile
|
||||||
|
zopflipng--iterations=50 --keepchunks=iCCP --lossy_transparent --splitting=3 -my $tmpfile $tmpfile
|
||||||
mv $tmpfile $f
|
mv $tmpfile $f
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user