blob: 507dacc521cfecefc6c5cdbf1d0f67aa360d5503 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|