ICO / CUR Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→ICO) |
||
| Line 1: | Line 1: | ||
== ICO == | == ICO == | ||
* ''' Format Type ''': Icon / Image <br> | * ''' Format Type ''': Icon / Cursor / Image <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
Revision as of 18:47, 26 October 2020
ICO
- Format Type : Icon / Cursor / Image
- Endian Order : Little Endian
Format Specifications
// ICO/CUR file format
//header
2 bytes (uint16) - reserved // "0"
2 bytes (uint16) - image type
// 1 - icon (.ico)
// 2 - cursor (.cur)
2 bytes (uint16) - number of images
//directory
num_of_images *
{
1 byte (uint8) - width
1 byte (uint8) - height
1 byte (uint8) - color count
1 byte (uint8) - reserved // "0"
2 bytes (uint16) - color planes
2 bytes (uint16) - bits per pixel
4 bytes (uint32) - size of the bitmap data
4 bytes (uint32) - bitmap offset
}
//image data
num_of_images *
{
x bytes - image data
}
MultiEx BMS
Not written yet.
Notes and Comments
- Icon files used in many games and programs.
Supported Programs
- GIMP
- MS Paint
Games
List of games using this file format:
- Donald Duck: Quack Attack / Donald Duck: Goin' Quackers
- Many other...