optimize images after resizing
This commit is contained in:
parent
a26d73bece
commit
c599e3480b
|
@ -23,4 +23,9 @@ convert "$base" -resize '48x48' -unsharp 1x4 "res/icon/android/Icon-mdpi.png
|
||||||
convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/android/Icon-hdpi.png"
|
convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/android/Icon-hdpi.png"
|
||||||
convert "$base" -resize '96x96' -unsharp 1x4 "res/icon/android/Icon-xhdpi.png"
|
convert "$base" -resize '96x96' -unsharp 1x4 "res/icon/android/Icon-xhdpi.png"
|
||||||
convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/android/Icon-xxhdpi.png"
|
convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/android/Icon-xxhdpi.png"
|
||||||
convert "$base" -resize '192x192' -unsharp 1x4 "res/icon/android/Icon-xxxhdpi.png"
|
convert "$base" -resize '192x192' -unsharp 1x4 "res/icon/android/Icon-xxxhdpi.png"
|
||||||
|
|
||||||
|
cd res/icon/ios/
|
||||||
|
find -type f -name "*.png" -exec optipng -o7 {} \;
|
||||||
|
cd ../android/
|
||||||
|
find -type f -name "*.png" -exec optipng -o7 {} \;
|
Loading…
Reference in New Issue