diff options
Diffstat (limited to 'debian/logo/thunderbird/create-pngs.sh')
-rwxr-xr-x | debian/logo/thunderbird/create-pngs.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/logo/thunderbird/create-pngs.sh b/debian/logo/thunderbird/create-pngs.sh new file mode 100755 index 0000000000..507dacc521 --- /dev/null +++ b/debian/logo/thunderbird/create-pngs.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +src=thunderbird.svg + +for d in 16 22 24 32 48 64 128 256 512; +do + # using ImageMagick + #convert -background none $src -resize ${d}x${d} mailicon${d}.png + + # using Inkscape + inkscape --export-png=mailicon${d}.png --export-width=$d --export-height=$d --export-background-opacity=0 --without-gui $src +done + |