Beruflich Dokumente
Kultur Dokumente
Danilo Neto
The first icons were developed in the 1970s by Xerox PARC David Canfield SmithThe ICO file format is an image file format for computer icons in Microsoft Windows. 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. ICO files contain one or more small images at multiple sizes and color depths , such that they may be scaled appropriately.
Icons introduced in Windows 1.0 were 3232 pixels in size and were monochrome.
An ICO or CUR file is made up of an ICONDIR ("Icon directory") structure, containing an ICONDIRENTRY structure for each image in the file, followed by a contiguous block of all image bitmap data.
ICONDIR structure
ICONDIRENTRY structure Offset# 0 Size (in bytes) 1 Purpose Specifies image width in pixels. Can be any number between 0 and 255. Value 0 means image width is 256 pixels. Specifies image height in pixels. Can be any number between 0 and 255. Value 0 means image height is 256 pixels. Specifies number of colors in the color palette. Should be 0 if the image does not use a color palette. Reserved. Should be 0.[Notes 2] In ICO format: Specifies color planes. Should be 0 or 1.[Notes 3]In CUR format: Specifies the horizontal coordinates of the hotspot in number of pixels from the left. In ICO format: Specifies bits per pixel. [Notes 4]In CUR format: Specifies the vertical coordinates of the hotspot in number of pixels from the top. Specifies the size of the image's data in bytes Specifies the offset of BMP or PNG data from the beginning of the ICO/CUR file
Offset# 0
2 3
1 1
4
2 2 Specifies image type: 1 for icon (.ICO) image, 2 for cursor (.CUR) image. Other values are invalid.
6 8
2 4 4
12