|
Article on other languages:
|
The ICO file format is an image file format used for icons in Microsoft Windows. The CUR file format for cursors is almost identical, as the only differences are the identification byte and a specification of a hotspot in the header. ICO files contain one or more small images at multiple sizes and colour depths. The official IANA registered MIME type for ico files is
Icon sizes, colour depths, and transparency dataOriginally 32×32 pixels square and using 16 colors, more recent versions of Microsoft Windows support icons at multiple sizes and color depths. Prior to Windows XP, icon images could be any size from 1×1 pixel up to 255×255 pixels (including non-square sizes), and 4-, 8-, 16-, or 24-bit colour depth. However, only 16×16 and 32×32 images at 4- and 8-bit color depths were shown in the graphical shell, so other icon formats were uncommon. Icon image data was always made up of two bitmaps: the AND bitmap and the XOR bitmap. The AND bitmap is 1 bit per pixel and is applied first to decide which areas of the image are affected by the background. The XOR bitmap is then applied using XOR. This allows for transparent areas in the image but also allows for inverting the background and other tricks. Windows XP adds support for 32-bit colour depth icon images, with transparency taken from the alpha channel of the image, allowing semitransparent areas like shadows and antialiased edges. As the AND bitmap is no longer used, these icon images contain only XOR bitmap data. Windows XP also adds the ability to display icons at up to 72×72 pixel resolution in the graphical shell; however, Microsoft only recommended icon sizes up to 48×48 pixels, so larger icon sizes are uncommon. Windows Vista adds support for 256×256 pixel icon images, and supports (but does not require) the compressed PNG format for that size. The PNG format encodes the image transparency data directly; it contains neither the XOR nor the AND bitmap data of the other icon image formats. It is recommended that all 256×256 icons should be stored in the ICO file in PNG format to reduce the overall size of the file. The Windows Vista graphical shell supports "zooming" the display in and out; as a result, more icon formats (including the larger, 256×256 format) are recommended. Recommended icon sizes for Windows Vista compatibilityThe full set of standard icon sizes which should be provided for full Windows Vista compatibility:
Icon libraryAn icon library is a way to package Windows icons. It is typically a New Executable binary having .ICL extension with icon resources being the packaged icons. File structurePlease note that all values are represented in little-endian (Intel standard) format
Header
Directory
See also
External links
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net