Difference between revisions of "ICO / CUR Image"

From XentaxWiki
Jump to: navigation, search
m (Ikskoks moved page ICO / CUR to ICO / CUR Image)
(Games)
 
Line 64: Line 64:
 
[[Category:Format_Image | Type: Image]]
 
[[Category:Format_Image | Type: Image]]
 
[[Category:Extension_ico | Extension: ico]]
 
[[Category:Extension_ico | Extension: ico]]
 +
[[Category:Extension_cur | Extension: cur]]
 
[[Category:BMS_None | BMS: None]]
 
[[Category:BMS_None | BMS: None]]
 
[[Category:File Format]]
 
[[Category:File Format]]

Latest revision as of 17:03, 10 January 2021

ICO, CUR

  • 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...