PCX
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) (→Resources) |
(Sample files) |
||
Line 29: | Line 29: | ||
== Software == | == Software == | ||
− | * [ | + | * [[ImageMagick]] |
− | * [ | + | * [[Netpbm]]: ppmtopcx, pcxtoppm |
== Sample files == | == Sample files == | ||
* http://samples.libav.org/image-samples/pcx/ | * http://samples.libav.org/image-samples/pcx/ | ||
+ | * http://cd.textfiles.com/clipart1996/ ... | ||
== Resources == | == Resources == | ||
* [[Wikipedia:PCX|Wikipedia article]] | * [[Wikipedia:PCX|Wikipedia article]] | ||
* [http://www.shikadi.net/moddingwiki/PCX_Format PCX Format], from the DOS Game Modding Wiki | * [http://www.shikadi.net/moddingwiki/PCX_Format PCX Format], from the DOS Game Modding Wiki | ||
− | * | + | * {{EGFF|pcx|PCX File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]] |
* [http://www.textfiles.com/programming/FORMATS/pcx.txt PCX technical reference] | * [http://www.textfiles.com/programming/FORMATS/pcx.txt PCX technical reference] | ||
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including PCX)] | * [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including PCX)] |
Revision as of 00:37, 18 December 2013
Contents |
Overview
PCX was the native format of a DOS-based program PC Paintbrush, and was for a time (especially the late 1980s) a very popular image format among users of IBM PC compatibles and the PC/MS-DOS operating system. Much clip art was distributed in this format. However, it was tied closely to platform-specific attributes such as the particular graphic modes available in early PCs, and later lost ground to more platform-independent graphic formats like GIF, JPEG, and PNG.
Format
PCX files have a 128-byte fixed header.
Identification
The first byte of a PCX file is 0x0a
. The second byte (the version number) is 0, 2, 3, 4, or 5. The third byte (the compression type) should always be 1, though it's possible that 0 is also allowed in some variants of PCX.
Identifiers
See also
Specifications
Software
- ImageMagick
- Netpbm: ppmtopcx, pcxtoppm
Sample files
Resources
- Wikipedia article
- PCX Format, from the DOS Game Modding Wiki
- PCX File Format Summary, from the Encyclopedia of Graphics File Formats
- PCX technical reference
- Picture format docs (of a number of formats including PCX)