X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=tools%2Fpopulate-app-icon;h=c796b825b9546229d1a6f2fa111ee54d070041f8;hp=d7840dd6068173d85f938c2e6b8e19fa015a4000;hb=23ec8777f698b472c52c194ef7218fc1e8a67f83;hpb=c3cb55e52093cdd65321152745698d2b2a0d2797 diff --git a/tools/populate-app-icon b/tools/populate-app-icon index d7840dd6..c796b825 100755 --- a/tools/populate-app-icon +++ b/tools/populate-app-icon @@ -12,10 +12,9 @@ gen_icons() { while read size name; do DST_DIR="$RES_DIR/mipmap-$name" mkdir -p "$DST_DIR" - DST="$DST_DIR/app_icon.png" - convert -background none "$ICON_ART" -scale ${size}x${size} \ - -antialias -strip \ - "$DST" + DST="$DST_DIR/ic_launcher.png" + rsvg-convert --background-color none "$ICON_ART" -w $size -h $size \ + -o "$DST" optipng "$DST" done }