ICO / CUR Image

From XentaxWiki
Revision as of 19:46, 26 October 2020 by Ikskoks (talk | contribs) (Created page with "== ICO == * ''' Format Type ''': Icon / Image <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifications ===...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ICO


Format Specifications

// ICO 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...