Initial commit

This commit is contained in:
Kevin Puertas
2017-12-02 21:31:49 +01:00
commit c5427d1a1f
57 changed files with 3853 additions and 0 deletions

17
createimgs Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
## Create the .pngs from a 512x512 img using "convert"
img=logo512.png
convert $img -resize 192x192 /tmp/a.png && pngcrush -reduce -brute /tmp/a.png app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
convert $img -resize 144x144 /tmp/a.png && pngcrush -reduce -brute /tmp/a.png app/src/main/res/mipmap-xxhdpi/ic_launcher.png
convert $img -resize 96x96 /tmp/a.png && pngcrush -reduce -brute /tmp/a.png app/src/main/res/mipmap-xhdpi/ic_launcher.png
convert $img -resize 72x72 /tmp/a.png && pngcrush -reduce -brute /tmp/a.png app/src/main/res/mipmap-hdpi/ic_launcher.png
convert $img -resize 48x48 /tmp/a.png && pngcrush -reduce -brute /tmp/a.png app/src/main/res/mipmap-mdpi/ic_launcher.png
#Rounded
cp app/src/main/res/mipmap-xxxhdpi/ic_launcher.png app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
cp app/src/main/res/mipmap-xxhdpi/ic_launcher.png app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
cp app/src/main/res/mipmap-xhdpi/ic_launcher.png app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
cp app/src/main/res/mipmap-hdpi/ic_launcher.png app/src/main/res/mipmap-hdpi/ic_launcher_round.png
cp app/src/main/res/mipmap-mdpi/ic_launcher.png app/src/main/res/mipmap-mdpi/ic_launcher_round.png
rm /tmp/a.png