What Is .pcx
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 11, 2026
Key Facts
- PCX was created by ZSoft Corporation in 1984-1985 as the native format for PC Paintbrush
- The format uses run-length encoding (RLE) compression, a lossless algorithm that compresses identical consecutive bytes
- PCX files have a fixed 128-byte header containing image dimensions, color information, and compression details
- The format supports color depths ranging from 2-256 colors with palette-indexed images, plus 24-bit true color
- ZSoft partnered with Microsoft in an OEM arrangement, bundling PC Paintbrush with Windows and making PCX a standard in 1980s-1990s computing
Overview
PCX, which stands for Picture eXchange, is a raster image file format that originated from ZSoft Corporation's PC Paintbrush software in 1984-1985. It was designed specifically for the IBM PC and MS-DOS operating systems, quickly becoming one of the first widely adopted image file standards for personal computers during the early digital era. ZSoft, a software company based in Marietta, Georgia, developed both the format and the painting application that popularized it.
Throughout the late 1980s and 1990s, PCX files were ubiquitous in DOS and early Windows environments, particularly among users of PC Paintbrush and other graphics applications that supported the format. The widespread adoption was significantly boosted when ZSoft entered into an original equipment manufacturer (OEM) arrangement with Microsoft, allowing the software giant to bundle PC Paintbrush with various products, including Microsoft Paintbrush for Windows, which was distributed with every copy of Windows sold during that era. However, as more sophisticated image formats like JPEG, PNG, and GIF were developed and gained prominence, PCX gradually fell out of favor and is now considered an obsolete format.
How It Works
PCX files operate using a well-defined structure that begins with a fixed 128-byte header containing essential image information. After the header, the actual image pixel data follows, and in some cases, a 769-byte palette segment concludes the file. The format supports multiple version numbers ranging from 0 to 5, which originally denoted the version of the PC Paintbrush program used to create the file.
- Header Structure: The PCX header (128 bytes) contains critical metadata including an identifier byte (value 10), version number, image dimensions, 16 palette colors, number of color planes, bit depth information, and the compression method used for the image data.
- Run-Length Encoding: PCX employs run-length encoding (RLE), a simple lossless compression algorithm that significantly reduces file size by collapsing series of three or more consecutive identical bytes into a two-byte pair, making it efficient for images with solid color regions.
- Color Support: The format commonly stores palette-indexed images ranging from 2 or 4 colors up to 16 and 256 colors, though PCX was later extended to support true-color 24-bit images, allowing for millions of color combinations in a single file.
- Planes and Bit Depth: PCX files can utilize multiple color planes with varying bit depths, allowing flexibility in how color information is stored and enabling both simple indexed color images and more complex true-color representations.
Key Comparisons
| Aspect | PCX | PNG | JPEG |
|---|---|---|---|
| Compression Type | Lossless (RLE) | Lossless (Deflate) | Lossy |
| Color Support | 2-256 colors or 24-bit | Palette, grayscale, or 24-bit | 24-bit RGB only |
| File Size | Medium | Smallest (typically) | Small (with quality loss) |
| Transparency | Limited | Full alpha channel | No transparency |
| Use Case Era | 1980s-1990s DOS/Windows | 1995-present, modern web | 1992-present, photos/web |
Why It Matters
- Historical Significance: PCX was instrumental in establishing image file standards for personal computers, serving as the bridge between early bitmap formats and modern image file specifications that we use today.
- Technical Innovation: The introduction of run-length encoding in PCX demonstrated effective lossless compression techniques that influenced subsequent image format development and remain relevant in certain specialized applications.
- Archival Considerations: Understanding PCX is important for digital preservation efforts, as countless legacy images from the DOS and early Windows eras exist in PCX format and require proper conversion and archival strategies.
Although PCX is no longer actively used for creating new images, its historical importance in computing cannot be overstated. The format served as a crucial stepping stone in the evolution of digital image technology, and recognizing its role helps modern users and developers appreciate how far image processing has advanced. For anyone working with legacy systems or managing historical digital collections, understanding PCX remains relevant for proper file conversion and digital preservation efforts.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- PCX - WikipediaCC-BY-SA-4.0
- PCX File Format SummaryCC-BY-SA-3.0
- Library of Congress - PCX FormatCC0-1.0
Missing an answer?
Suggest a question and we'll generate an answer for it.