Missed icon

This commit is contained in:
SpiritCroc 2020-05-30 16:06:52 +02:00
parent 761580c930
commit 5c08aa6462
6 changed files with 13 additions and 7 deletions

View File

@ -4,13 +4,6 @@ mydir="$(dirname "$(realpath "$0")")"
base_out="$mydir/../vector/src/main/res" base_out="$mydir/../vector/src/main/res"
dpi=96
base_folder="$mydir/../vector/src/main/res/drawable"
file="$mydir/riot_splash_0_green.svg"
export_files
export_files() { export_files() {
newfile="$(basename "$file" .svg).png" newfile="$(basename "$file" .svg).png"
mkdir -p $base_folder-mdpi mkdir -p $base_folder-mdpi
@ -25,6 +18,19 @@ export_files() {
inkscape "$file" --export-filename="$base_folder-xxxhdpi/$newfile" -C --export-dpi=$(($dpi*4)) inkscape "$file" --export-filename="$base_folder-xxxhdpi/$newfile" -C --export-dpi=$(($dpi*4))
} }
dpi=96
base_folder="$mydir/../vector/src/main/res/drawable"
file="$mydir/riot_splash_0_green.svg"
export_files
cp "$mydir/ic_launcher.svg" "$mydir/riotx_logo.svg"
file="$mydir/riotx_logo.svg"
export_files
rm "$mydir/riotx_logo.svg"
base_folder="$mydir/../vector/src/main/res/mipmap" base_folder="$mydir/../vector/src/main/res/mipmap"
dpi=24 # 96/4 dpi=24 # 96/4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 38 KiB