From: Damyan Ivanov Date: Sun, 17 Mar 2019 16:45:18 +0000 (+0000) Subject: optimise app icons png X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=8ef27edfe0de6e856aee02769387a8100aca4559;p=mobile-ledger.git optimise app icons png --- diff --git a/app/src/main/res/drawable-hdpi/ic_app_icon.png b/app/src/main/res/drawable-hdpi/ic_app_icon.png index c2873564..18682548 100644 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 diff --git a/app/src/main/res/drawable-ldpi/ic_app_icon.png b/app/src/main/res/drawable-ldpi/ic_app_icon.png index 7ee1a1c8..24f247d4 100644 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 diff --git a/app/src/main/res/drawable-mdpi/ic_app_icon.png b/app/src/main/res/drawable-mdpi/ic_app_icon.png index bf768bc3..4f96ddeb 100644 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 diff --git a/app/src/main/res/drawable-tvdpi/ic_app_icon.png b/app/src/main/res/drawable-tvdpi/ic_app_icon.png index a94af7f2..f16b2460 100644 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 diff --git a/app/src/main/res/drawable-xhdpi/ic_app_icon.png b/app/src/main/res/drawable-xhdpi/ic_app_icon.png index 6bdd8359..b6c2a197 100644 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 diff --git a/app/src/main/res/drawable-xxhdpi/ic_app_icon.png b/app/src/main/res/drawable-xxhdpi/ic_app_icon.png index 5ed5740c..4768ff3a 100644 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 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_app_icon.png b/app/src/main/res/drawable-xxxhdpi/ic_app_icon.png index a3df79ed..36421626 100644 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 diff --git a/tools/populate-app-icon b/tools/populate-app-icon index 35ff2de6..0f105bbf 100755 --- a/tools/populate-app-icon +++ b/tools/populate-app-icon @@ -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 }