Code: Select all
$ for i in 16 32 64 128 256 ; do mogrify -format ico -density 600 -define icon:auto-resize=$i file.svg ; echo -n "$i " ; ll -h file.ico | awk '{print $5}'; done
16 1,2K
32 4,2K
64 17K
128 67K
256 33K
Code: Select all
16.png 641
32.png 1,3K
64.png 2,6K
128.png 4,6K
256.png 9,1K
Code: Select all
$ for i in `ls *.png` ; do convert $i $i.ico ; echo -n "$i.ico "; ll -h $i.ico | awk '{print $5}'; done
16.png.ico 1,2K
32.png.ico 4,2K
64.png.ico 17K
128.png.ico 67K
256.png.ico 9,5K
I tried to play with -compress and -quality settings but files are still quite big
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org