Create multiple sizes icon using ImageMagick

Discuss other useful utilities, general computing tips & tricks, Internet resources, etc.
tmplinshi
Posts: 1549
Joined: 01 Oct 2013, 14:57

Create multiple sizes icon using ImageMagick

18 Jan 2014, 12:11

Code: Select all

convert input.png ^
        ( -clone 0 -resize 48x48 ) ^
        ( -clone 0 -resize 32x32 ) ^
        ( -clone 0 -resize 16x16 ) ^
        -delete 0 -alpha on -background none output.ico
Or a single line:

Code: Select all

convert input.png ( -clone 0 -resize 48x48 ) ( -clone 0 -resize 32x32 ) ( -clone 0 -resize 16x16 ) -delete 0 -alpha on -background none output.ico

Return to “Other Utilities & Resources”

Who is online

Users browsing this forum: No registered users and 4 guests