]> git.ktnx.net Git - mobile-ledger.git/commitdiff
optimise app icons png
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Mar 2019 16:45:18 +0000 (16:45 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Mar 2019 16:45:18 +0000 (16:45 +0000)
app/src/main/res/drawable-hdpi/ic_app_icon.png
app/src/main/res/drawable-ldpi/ic_app_icon.png
app/src/main/res/drawable-mdpi/ic_app_icon.png
app/src/main/res/drawable-tvdpi/ic_app_icon.png
app/src/main/res/drawable-xhdpi/ic_app_icon.png
app/src/main/res/drawable-xxhdpi/ic_app_icon.png
app/src/main/res/drawable-xxxhdpi/ic_app_icon.png
tools/populate-app-icon

index c287356436fae38e092e267b88ffe65ad822e44b..186825488e66359fb7d1e2ba2794af427d477254 100644 (file)
Binary files a/app/src/main/res/drawable-hdpi/ic_app_icon.png and b/app/src/main/res/drawable-hdpi/ic_app_icon.png differ
index 7ee1a1c8409df2f7291103de781836026386ca17..24f247d48bee31284602b3f404d9438b0b69a225 100644 (file)
Binary files a/app/src/main/res/drawable-ldpi/ic_app_icon.png and b/app/src/main/res/drawable-ldpi/ic_app_icon.png differ
index bf768bc3830544b9e4a0d72cad7cb2e73e1e591b..4f96ddeba5aa2b71486b2f5e39ef9df0239ead3d 100644 (file)
Binary files a/app/src/main/res/drawable-mdpi/ic_app_icon.png and b/app/src/main/res/drawable-mdpi/ic_app_icon.png differ
index a94af7f2085645ff6bea5210009950986992fc2b..f16b2460c8b5c73752d631050dcc2b1b0035edb0 100644 (file)
Binary files a/app/src/main/res/drawable-tvdpi/ic_app_icon.png and b/app/src/main/res/drawable-tvdpi/ic_app_icon.png differ
index 6bdd8359b7c56c6669b28a70f4f6d585870a2d74..b6c2a19748d14161e22f7e5f25f1996f96d3c0be 100644 (file)
Binary files a/app/src/main/res/drawable-xhdpi/ic_app_icon.png and b/app/src/main/res/drawable-xhdpi/ic_app_icon.png differ
index 5ed5740c4428cad3bd11e87f408e0cb3f6e4411f..4768ff3a4f1a40b23e1052c78ef757458567904c 100644 (file)
Binary files a/app/src/main/res/drawable-xxhdpi/ic_app_icon.png and b/app/src/main/res/drawable-xxhdpi/ic_app_icon.png differ
index a3df79edd8ab5cb2a30c73f955993d56cd1e1bea..36421626c0f7fdedc3b6b16e09f1761ece0b380c 100644 (file)
Binary files a/app/src/main/res/drawable-xxxhdpi/ic_app_icon.png and b/app/src/main/res/drawable-xxxhdpi/ic_app_icon.png differ
index 35ff2de67e8d7402236ed0584696a28f7fd16b0c..0f105bbf9ed052693c7fd7b488a2647691687b21 100755 (executable)
@@ -11,9 +11,11 @@ ICON_ART="$ART_DIR/app-icon.svg"
 gen_icons() {
     while read size name; do
         mkdir -p "$RES_DIR/drawable-$name"
+        DST="$RES_DIR/drawable-$name/ic_app_icon.png"
         convert -background none "$ICON_ART" -scale ${size}x${size} \
             -antialias -strip \
-            "$RES_DIR/drawable-$name/ic_app_icon.png"
+            "$DST"
+        optipng "$DST"
     done
 }