PCX Image: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO (Created page with " Game: Legendary Hunter VR Status: Complete Extension: pak {{CompactGRAFTO...") |
imported>Ikskoks (→Games) |
||
| (16 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== PCX == | |||
[ | * ''' Format Type ''': Image <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | |||
<div style=" | |||
=== Format Specifications === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | <pre> | ||
PCX Image | // 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 | |||
</pre> | </pre> | ||
< | </div> | ||
== MultiEx BMS Script == | |||
=== 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... | |||
<br/><br> | |||
[[Category:Complete Complete|PCX Image]] | |||
[[Category:Platform PC|PCX Image]] | |||
[[Category:CE None|PCX Image]] | |||
[[Category:Format_Image | Type: Image]] | |||
[[Category:Extension_pcx | Extension: pcx]] | |||
[[Category:BMS_None | BMS: None]] | |||
[[Category:File Format]] | |||
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...