Is there a way to convert an image to ICO format, if the resolution is bigger than 256x256?
I found several programs but none of them was able to convert larger images. The size which I need is 1024x1024.
These days, ICO files can be 256 x 256 pixels and contain 24 bits of colors and 8 bits of transparency. Windows does recommend images that are 256 x 256 pixels be compressed PNGs to save space, which highlights the unique attribute of a file type like ICO - it's actually several images in either BMP or PNG format.
If you want to see the different sizes included in the Windows ICO Format you can easily do this in Windows. Save your ICO files into a folder and then use the 'View' drop down to select the view or size of icon you wish to see. Windows 7 automatically scales the icons as you move between the sizes you have created.
Usually, the images in an . ico are held as uncompressed BMP images. If you're converting from png, these will probably be stored at 32bits per pixel. When Windows Vista came along, Microsoft added support for embedded PNG files, but this tends to be for 256x256 icons so that older apps don't break.
Make sure your ico files have the bigger images in them too, to do this you can open then in Visual Studio, then right click on the images and change the size you are looking at or add other sizes with the context menu.
Since the width and height is stored as a single byte each in the ICO image format, it cannot represent images larger than 256×256.
You need to first resize your image.
http://en.wikipedia.org/wiki/ICO_(file_format)#Outline
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With