Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

How to create ico file with more than one image

I can use ImageMagick to convert png to ico but (I think, not sure) it will create one image per ico file for the size I specify.

convert favicon.png -resize 32 favicon.ico


An ico file can contain 2 or 3 images for 16x16 32x32 and 64x64 pixels.

Is it possible to create such icon maybe with ImageMagick or other tool?
by

1 Answer

Kajalsi45d
Newer versions have an easier command:
convert -background transparent image.png -define icon:auto-resize=16,32,48,64,256 favicon.ico


-background transparent is of course optional.

Login / Signup to Answer the Question.