.PCX

PCX File

ZSoft Paintbrush Bitmap Image (PiCture eXchange)
Ask a question
QUICK ANSWER

A PCX file is a ZSoft PC Paintbrush bitmap image from 1985, one of the oldest raster formats on the PC. Almost any image program opens it for free - IrfanView or XnView on Windows, GIMP on any platform, Preview on macOS. For modern use, convert it to PNG or JPG.

Developer: ZSoft Corporation Category: Raster Image Files Open standard MIME: image/x-pcx
OPENS ON Windows macOS Linux
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Aug 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PCX file format?

The .pcx format - short for PiCture eXchange - is one of the oldest raster image file extensions in PC history, introduced in 1985 by ZSoft Corporation with *PC Paintbrush* for MS-DOS, years before Windows became widespread. While it has since been outdated and replaced by more capable formats such as PNG and BMP, it was developed as a binary raster image format using simple lossless run-length encoding (RLE) compression.

A .pcx file begins with a fixed 128-byte header that identifies the version, color depth, image dimensions, and dots-per-inch resolution. The format supports several color depths: 1-bit black-and-white, 4-bit (16-color), 8-bit indexed (256-color), and 24-bit truecolor stored across three 8-bit color planes. Version 5 of the specification - the most widely supported today - added 256-color VGA palette support and full 24-bit output; the 256-color palette is appended at the very end of the file as a 769-byte block rather than embedded in the header.

It is still supported by a variety of image processing applications from Adobe, Corel, and others. Multi-page .pcx images can be bundled into the related .dcx container format, commonly used for fax documents.

Security & safety

RISK: LOW

PCX is a passive, well-understood raster format with no scripting or macros, so opening one is low-risk. The only real-world cautions are non-malware: PCX RLE decoders in very old or poorly written software have historically had buffer-overflow bugs on malformed files, so use a current, maintained viewer (IrfanView, XnView, GIMP, ImageMagick) from its official site rather than a random 'PCX viewer' download that may bundle adware. Convert anything you need to keep to PNG for long-term safety and compatibility.

Format details

in a nutshell
FULL NAMEZSoft Paintbrush Bitmap Image (PiCture eXchange)aka PC Paintbrush File, ZSoft PCX
DEVELOPERZSoft Corporationsince 1985 (PC Paintbrush, ZSoft)
MIME TYPEimage/x-pcx
TYPERun-length-encoded (RLE) raster bitmap image (binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00
HEX
0A
ASCII
·
A PCX file begins with manufacturer byte 0x0A at offset 0, followed at offset 1 by the version byte (0x00, 0x02, 0x03, 0x04 or 0x05) and at offset 2 by the encoding byte (0x01 = RLE). The most common modern signature is 0A 05 01 08 (v5, RLE, 8 bits/plane). The single-byte 0x0A is weak, so identification also checks a valid version/encoding/bpp combination.

Programs that open PCX files

Windows5 apps
Adobe Photoshop Paid File > Open the .pcx; edit and Save As/Export to a modern format.
GIMP Open-source File > Open the .pcx to view/edit, then File > Export As PNG/JPG.
IrfanView Free File > Open the .pcx to view; Save As to export PNG/JPG/BMP. Batch-converts whole folders.
Paint.NET Free Open and edit the PCX, then save/export to PNG/JPG (PCX read supported).
XnView MP Free Open the .pcx to view and batch-convert to PNG/JPG/TIFF (free for personal use).
macOS3 apps
Adobe Photoshop Paid Open the PCX and export to a modern format.
GIMP Open-source Open the .pcx to view/edit, then export PNG/JPG. The main free option on macOS.
XnView MP Free Open and batch-convert PCX images.
Linux3 apps
GIMP Open-source Open the .pcx to view/edit and export PNG/JPG.
ImageMagick Open-source Command line: 'convert image.pcx image.png' to view-convert; reads/writes PCX natively.
XnView MP Free Open and batch-convert PCX files.

Technical details

deep spec
DeveloperZSoft Corporation
Format typeRun-length-encoded (RLE) raster bitmap (binary, lossless)
MIME typeimage/x-pcx (also image/pcx, application/x-pcx)
Magic bytes0x0A at offset 0 (manufacturer byte); version byte at offset 1; encoding byte 0x01 (RLE) at offset 2
Byte orderLittle-endian
Header size128 bytes, fixed-length
CompressionPCX-RLE - lossless byte-oriented run-length encoding; uncompressed storage also permitted
Color depth1-bit mono, 4-bit (16-color), 8-bit indexed (256-color), 24-bit truecolor (3 planes × 8 bpp)
Color planes1-4 planes; bits-per-plane × plane count determines final color depth
Max dimensions65,535 × 65,535 pixels (16-bit Xmin/Xmax/Ymin/Ymax coordinate fields)
256-color paletteAppended at end of file - 0x0C marker byte followed by 256 RGB triplets (769 bytes total; Version 5 only)
Version schemeHeader byte: 0x00 (v2.5), 0x02 (v2.8 with palette), 0x03 (v2.8 no palette), 0x04 (PC Paintbrush for Windows), 0x05 (v3.0+/24-bit)
DPI metadataHorizontal and vertical DPI each stored as a 16-bit little-endian word in the header
Related container.dcx - multi-page PCX bundle used for fax and document imaging
Released1985 (PC Paintbrush, ZSoft)
Latest versionVersion 5 (header byte 0x05) - adds 24-bit truecolor and a 256-color VGA palette
Open standardYes · royalty-free
Specificationwww.fileformat.info

PCX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PCX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PCX files.

Frequently asked questions

What is a PCX file?
It's a ZSoft PC Paintbrush bitmap image - one of the oldest PC raster formats (1985), using simple RLE compression. It was widely used for clip art, scans and DOS-era graphics before BMP/GIF/PNG took over.
How do I open a PCX file?
Almost any image program opens it. For free, use IrfanView or XnView (Windows), GIMP (Windows/macOS/Linux), or Preview/GIMP on Mac. To keep it for modern use, export to PNG or JPG.
How do I convert PCX to JPG or PNG?
Open the PCX in IrfanView, XnView or GIMP and use Save As/Export. PNG is best for flat-color PCX graphics (lossless); JPG is fine for sharing. All three batch-convert whole folders.
Why won't my PCX open in Windows Photos?
The modern Windows Photos app doesn't read the old PCX format. Install the free IrfanView or XnView, or open it in GIMP, then save it as PNG or JPG so any app can show it.
Is PCX still used today?
Rarely. It's obsolete for general use but survives in legacy and niche pipelines - DOS-era game/clip-art assets, fax/scan workflows (multi-page DCX), and some CAD/CNC/embroidery tools that still import or export PCX.
What's the difference between PCX and DCX?
DCX is a multi-page container that bundles several PCX images into one file (used for fax pages and multi-page scans). A single PCX holds one image; a DCX holds many PCX pages.

References

1Wikipedia - PCXen.wikipedia.org
2FileFormat.Info - ZSoft PCX File Format Summary (EGFF)www.fileformat.info

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.CRDOWNLOADChrome Partial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.DBSQLite Database File
9.EXEWindows Executable (Portable Executable)
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z