transparent icons + icon converter

This commit is contained in:
Jan Prochazka
2022-04-24 23:11:10 +02:00
parent 3a20f24f7c
commit 3c8a0ebd22
14 changed files with 27 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 54 KiB

BIN
app/icon1024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 844 B

BIN
app/icons/16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

27
convert-icons.sh Executable file
View File

@@ -0,0 +1,27 @@
magick icon.svg -resize 1024x1024 -transparent white -background transparent app/icon1024.png
magick app/icon1024.png -resize 512x512 app/icon512.png
magick app/icon1024.png -resize 256x256 app/icon.png
magick app/icon1024.png -resize 32x32 app/icon32.png
magick icon.svg -define icon:auto-resize="256,128,96,64,48,32,16" -transparent white -background transparent app/icon.ico
# magick icon.svg -resize 512x512 -transparent white -background transparent app/icon512.png
# magick icon.svg -resize 256x256 -transparent white -background transparent app/icon.png
# magick icon.svg -resize 32x32 -transparent white -background transparent app/icon32.png
# magick icon.svg -define icon:auto-resize="256,128,96,64,48,32,16" -transparent white -background transparent app/icon.ico
magick app/icon1024.png -resize 512x512 app/icons/512x512.png
magick app/icon1024.png -resize 256x256 app/icons/256x256.png
magick app/icon1024.png -resize 128x128 app/icons/128x128.png
magick app/icon1024.png -resize 64x64 app/icons/64x64.png
magick app/icon1024.png -resize 48x48 app/icons/48x48.png
magick app/icon1024.png -resize 32x32 app/icons/32x32.png
magick app/icon1024.png -resize 16x16 app/icons/16x16.png
# magick icon.svg -resize 16x16 -transparent white -background transparent app/icons/16x16.png
# magick icon.svg -resize 32x32 -transparent white -background transparent app/icons/32x32.png
# magick icon.svg -resize 48x48 -transparent white -background transparent app/icons/48x48.png
# magick icon.svg -resize 64x64 -transparent white -background transparent app/icons/64x64.png
# magick icon.svg -resize 128x128 -transparent white -background transparent app/icons/128x128.png
# magick icon.svg -resize 256x256 -transparent white -background transparent app/icons/256x256.png
# magick icon.svg -resize 512x512 -transparent white -background transparent app/icons/512x512.png