Your browser does not fully support modern features. Please upgrade for a smoother experience.
Submitted Successfully!
Thank you for your contribution! You can also upload a video entry or images related to this topic. For video creation, please contact our Academic Video Service.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki Vivi Li -- 1386 2022-11-04 01:35:11

Video Upload Options

We provide professional Academic Video Service to translate complex research into visually appealing presentations. Would you like to try it?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. ICO (File Format). Encyclopedia. Available online: https://encyclopedia.pub/entry/32970 (accessed on 22 September 2026).
HandWiki. ICO (File Format). Encyclopedia. Available at: https://encyclopedia.pub/entry/32970. Accessed September 22, 2026.
HandWiki. "ICO (File Format)" Encyclopedia, https://encyclopedia.pub/entry/32970 (accessed September 22, 2026).
HandWiki. (2022, November 04). ICO (File Format). In Encyclopedia. https://encyclopedia.pub/entry/32970
HandWiki. "ICO (File Format)." Encyclopedia. Web. 04 November, 2022.
ICO (File Format)
Edit

The ICO file format is an image file format for computer icons in Microsoft Windows. ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately. In Windows, all executables that display an icon to the user, on the desktop, in the Start Menu, or in Windows Explorer, must carry the icon in ICO format. The CUR file format is an almost identical image file format for non-animated cursors in Microsoft Windows. The only differences between these two file formats are the bytes used to identify them and the addition of a hotspot in the CUR format header; the hotspot is defined as the pixel offset (in x,y coordinates) from the top-left corner of the cursor image where the user is actually pointing the mouse.

pixel offset cursor hotspot

References

  1. Fekete, Gyorgy (March 11, 2009). "Operating System Interface Design Between 1981-2009". Webdesigner Depot. http://www.webdesignerdepot.com/2009/03/operating-system-interface-design-between-1981-2009/. Retrieved June 6, 2011. 
  2. Hornick, John (September 29, 1995). "Icons". Windows User Interface Technical Articles (MSDN). Microsoft Corporation. http://msdn.microsoft.com/en-us/library/ms997538.aspx. Retrieved June 5, 2011. 
  3. "Windows 95 Architecture Components". Microsoft TechNet. Microsoft Corporation. https://technet.microsoft.com/en-us/library/cc751120.aspx. Retrieved June 6, 2011. 
  4. "Shell Icon BPP". Windows 2000 Registry Reference (Microsoft TechNet). Microsoft Corporation. https://technet.microsoft.com/en-us/library/cc938238.aspx. Retrieved June 6, 2011. 
  5. "Creating Windows XP Icons". Windows XP Technical Articles (MSDN). Microsoft Corporation. July 2001. http://msdn.microsoft.com/en-us/library/ms997636.aspx. Retrieved June 5, 2011. 
  6. "Icons". The evolution of the ICO file format, part 4: PNG images. Raymond Chen - MSFT. https://devblogs.microsoft.com/oldnewthing/20101022-00/?p=12473. Retrieved October 22, 2010. 
  7. Butcher, Simon (3 Sep 2003). "image/vnd.microsoft.icon". http://www.iana.org/assignments/media-types/image/vnd.microsoft.icon. Retrieved 3 Jan 2014. 
  8. Lawrence, Eric (11 Feb 2011). "IE9 RC Minor Changes List". MSDN Blogs. https://blogs.msdn.microsoft.com/ieinternals/2011/02/11/ie9-rc-minor-changes-list/#comment-1108. Retrieved 20 Aug 2016.  See the second comment.
  9. The classic BITMAPINFOHEADER bitmap format supports storing images with 32 bits per pixel. When saved as a standalone .BMP file, "the high byte in each [pixel] is not used". However, when this same data is stored inside a ICO or CUR file, Windows XP (the first Windows version to support ICO/CUR files with more than 1 bit of transparency) and above interpret this byte as an alpha value.
  10. Although Microsoft's technical documentation states that this value must be zero, the icon encoder built into .NET (System.Drawing.Icon.Save) sets this value to 255. It appears that the operating system ignores this value altogether.
  11. Setting the color planes to 0 or 1 is treated equivalently by the operating system, but if the color planes are set higher than 1, this value should be multiplied by the bits per pixel to determine the final color depth of the image. It is unknown if the various Windows operating system versions are resilient to different color plane values.
  12. The bits per pixel might be set to zero, but can be inferred from the other data; specifically, if the bitmap is not PNG compressed, then the bits per pixel can be calculated based on the length of the bitmap data relative to the size of the image. If the bitmap is PNG compressed, the bits per pixel are stored within the PNG data. It is unknown if the various Windows operating system versions contain logic to infer the bit depth for all possibilities if this value is set to zero.
  13. Chen, Raymond (May 2008). "Windows Confidential - 16-Bit Icons Are So Passé". TechNet Magazine. https://technet.microsoft.com/en-us/magazine/2008.05.windowsconfidential.aspx. Retrieved July 1, 2011. 
More
Upload a video for this entry
Information
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 8.8K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 04 Nov 2022
Notice
You are not a member of the advisory board for this topic. If you want to update advisory board member profile, please contact office@encyclopedia.pub.
OK
Confirm
Only members of the Encyclopedia advisory board for this topic are allowed to note entries. Would you like to become an advisory board member of the Encyclopedia?
Yes
No
${ textCharacter }/${ maxCharacter }
Submit
Cancel
There is no comment~
${ textCharacter }/${ maxCharacter }
Submit
Cancel
${ selectedItem.replyTextCharacter }/${ selectedItem.replyMaxCharacter }
Submit
Cancel
Confirm
Are you sure to Delete?
Yes No
Academic Video Service