PCX Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 55: | Line 55: | ||
List of games using this file format: | List of games using this file format: | ||
* [[Elasto Mania]] | * [[Elasto Mania]] | ||
* Imperium Galactica | |||
* Many more... | * Many more... | ||
| Line 61: | Line 62: | ||
* IrfanView | * IrfanView | ||
* GIMP | * GIMP | ||
* Many more... | |||
<br/><br> | <br/><br> | ||
Latest revision as of 15:01, 10 January 2021
PCX
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// PCX Image file format
1 byte (uint8) - magic // "0x0A"
1 byte (uint8) - version // 0 = PC Paintbrush version 2.5 (EGA palette)
// 2 = PC Paintbrush version 2.8 (EGA palette)
// 3 = PC Paintbrush version 2.8 (no palette)
// 4 = PC Paintbrush for Windows
// 5 = PC Paintbrush version 3.0
1 byte (uint8) - compression type // 0 = no compression
// 1 = RLE compression
1 byte (uint8) - bits per pixel // 1 = 2 colors
// 2 = 4 colors
// 4 = 16 colors
// 8 = 256 colors
2 bytes (uint16) - min. X position
2 bytes (uint16) - min. Y position
2 bytes (uint16) - max. X position
2 bytes (uint16) - max. Y position
2 bytes (uint16) - horizontal image resolution
2 bytes (uint16) - vertical image resolution
48 bytes - EGA palette
1 byte - reserved
1 byte (uint8) - number of color planes
2 bytes (uint16) - number of bytes of one color plane
2 bytes (uint16) - palette mode // 1 = monochrome or color
// 2 = grayscale
2 bytes (uint16) - horizontal source system resolution
2 bytes (uint16) - vertical source system resolution
54 bytes - reserved
x bytes - image data
MultiEx BMS Script
Not written yet.
Notes and Comments
None.
Games
List of games using this file format:
- Elasto Mania
- Imperium Galactica
- Many more...
Compatible Programs
- IrfanView
- GIMP
- Many more...