DEV Community

Danielle van Graan
Danielle van Graan

Posted on

Image Magic

https://imagemagick.org/

convert input.png -bordercolor white -border 0 ( -clone 0 -resize 16x16 ) ( -clone 0 -resize 24x24 ) ( -clone 0 -resize 32x32 ) ( -clone 0 -resize 40x40 ) ( -clone 0 -resize 48x48 ) ( -clone 0 -resize 64x64 ) ( -clone 0 -resize 256x256 ) -delete 0 -alpha off -colors 256 output.ico

This command allows you to provide an image and output all the different sizes defined.

Top comments (0)