PCX Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
(Created page with " Game: Legendary Hunter VR Status: Complete Extension: pak {{CompactGRAFTO...")
imported>Ikskoks
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Game_Legendary Hunter VR | Game: Legendary Hunter VR]]
== PCX ==
[[Category:Complete_Complete | Status: Complete]]
* ''' Format Type ''':   Image <br>
[[Category:Extension_pak | Extension: pak]]
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
{{CompactGRAFTOC}}


<div style="border:solid 1px #AAAAAA; padding:4px; background-color:#F9F9F9;">
 
<i>Format Type:</i> Image<br />
=== Format Specifications ===
<i>Extensions:</i> pcx<br />
 
<i>Platforms:</i> <i>unknown</i><br />
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<i>Endian Order:</i> Little Endian
</div>
[[Category:Format_Archive | Type: Archive]]
<br /><br />
== Format Specifications ==
<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>
<br /><br />
</div>
== MultiEx BMS Script ==
 
=== MultiEx BMS Script ===
 
Not written yet.


<tt>
=== Notes and Comments ===  
<i>No BMS script</i>
</tt>
<br /><br />
[[Category:BMS_None | BMS: None]]
== Supported Programs ==


* [[Game Extractor|Game Extractor]]<br />
None.
<br /><br />
[[Category:Program_Game_Extractor | Program: Game Extractor]]
== Notes ==


<i>No additional notes</i>
=== Games ===
<br /><br />
List of games using this file format:
[[Category:CE_None | Compression: None]]
* [[Elasto Mania]]
== Games ==
* Imperium Galactica
* Many more...


=== Compatible Programs ===


* IrfanView
* GIMP
* Many more...
<br/><br>


<br /><br />
== Navigation ==


{{Format Navigation}}
[[Category:Complete Complete|PCX Image]]
<br /><br />
[[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 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:

Compatible Programs

  • IrfanView
  • GIMP
  • Many more...