convert icons on transparent background
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 30 Jan 2019 20:45:47 +0000 (20:45 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 30 Jan 2019 20:45:47 +0000 (20: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 673c179..fd98d01 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 bc65387..8557f8a 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 d4d5f64..d8c0536 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 a14c0eb..0268e6e 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 1897ee3..1146476 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 c89edea..37ddfdf 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 0c53b1c..2082bc2 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 06dc7a4..35ff2de 100755 (executable)
@@ -11,7 +11,7 @@ ICON_ART="$ART_DIR/app-icon.svg"
 gen_icons() {
     while read size name; do
         mkdir -p "$RES_DIR/drawable-$name"
-        convert "$ICON_ART" -scale ${size}x${size} \
+        convert -background none "$ICON_ART" -scale ${size}x${size} \
             -antialias -strip \
             "$RES_DIR/drawable-$name/ic_app_icon.png"
     done