What is an ideal size for a .ico file, that would sit in the top corner of a window?
Asked
Active
Viewed 4.7k times
2 Answers
45
Short answer: 16 x 16 pixels.
Long answer:
.ico files can actually contain multiple images, at multiple colour depths - you can provide 16x16, 32x32, 48x48 and 64x64 in a single file and the OS will pick the best one to show.
Of course to keep the file size low you don't want to put too many in there, but if you think people might be saving a link on their desktop (say it's a web application) then it's probably a good move.
Greg
- 307,243
- 53
- 363
- 328
-
1116 x 16 might be stretched too much in high DPI. A 32-bit icon with 64x64, 32x32, and 16x16 sizes is only ~22k, so you should try to keep all different sizes and let the OS choose. – Michael Oct 06 '09 at 16:50
-
Upvoted! I didn't know that .ico files can actually contain multiple icons of varying sizes and that browsers would choose the best one. Thanks! – Raj Jul 02 '13 at 18:51
-
2You can use the [ConvertICO](http://convertico.org/Multi_Image_to_one_icon/) to bundle many png files into one ico file. – Mizipzor Jul 31 '13 at 12:04
-
1Is it possible to do this in Photoshop? – user1448031 Apr 01 '14 at 02:59
-
1Gimp can do this – Martin Fehrs Oct 01 '20 at 14:59
4
See Microsoft's recommendations.
Basically, 16x16, 32x32, 48x48, and 256x256 for application icons. I guess the window icon is a toolbar icon so 16x16, 24x24 and 32x32.
Timmmm
- 78,116
- 55
- 321
- 425