Convert PCX to HDR

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

PCX vs HDR Format Comparison

AspectPCX (Source Format)HDR (Target Format)
Format Overview
PCX
ZSoft Paintbrush

One of the earliest bitmap image formats for the PC, created by ZSoft Corporation in 1985 for their PC Paintbrush application. PCX uses run-length encoding (RLE) compression and supports monochrome through 24-bit color. It was the dominant image format on DOS and early Windows before being superseded by BMP, GIF, and PNG.

Lossless Legacy
HDR
Radiance RGBE High Dynamic Range

The Radiance RGBE format, created in 1985 by Greg Ward for the Radiance lighting simulation system. HDR stores pixel data as 32-bit floating point values per channel, enabling representation of luminance ranges far beyond standard displays — from deep shadows to brilliant highlights in a single image file.

Lossless Standard
Technical Specifications
Color Depth: 1-bit to 24-bit (monochrome to true color)
Compression: Run-length encoding (RLE)
Transparency: Not supported
Animation: Not supported
Extensions: .pcx
Color Depth: 32-bit float per channel (RGBE encoding)
Compression: Run-length encoding (RLE)
Transparency: Not supported
Animation: Not supported
Extensions: .hdr, .pic
Image Features
  • RLE Compression: Simple, fast lossless encoding
  • Color Modes: 1-bit, 4-bit, 8-bit palette, 24-bit RGB
  • Palette Support: Up to 256-color palette with VGA EGA modes
  • DPI Information: Stores horizontal and vertical DPI
  • Version Field: Format version in 128-byte header
  • Multi-Plane: Supports color planes for EGA/VGA modes
  • Dynamic Range: Virtually unlimited luminance range (32-bit float)
  • RGBE Encoding: RGB + shared exponent for compact HDR storage
  • Tone Mapping: Required for display on standard monitors
  • Linear Light: Stores physically accurate light values
  • Environment Maps: Standard format for IBL lighting
  • Scene-Referred: Preserves real-world luminance ratios
Processing & Tools

Reading PCX files with Pillow:

# Read ZSoft Paintbrush image
from PIL import Image
img = Image.open("artwork.pcx")
# Convert to RGB for processing
rgb = img.convert("RGB")

Creating HDR files with imageio:

# Write Radiance HDR
import imageio
import numpy as np

# Convert to float32 for HDR
hdr_data = np.array(rgb).astype(np.float32) / 255.0
imageio.imwrite("output.hdr", hdr_data)
Advantages
  • Simple format — easy and fast to read/write
  • Lossless RLE compression preserves all pixel data
  • Supports multiple color depths (1-bit through 24-bit)
  • Stores DPI resolution information
  • Widely supported by legacy DOS/Windows applications
  • Effective compression for images with solid color areas
  • 32-bit floating point precision per channel
  • Stores real-world luminance values without clipping
  • Industry standard for 3D rendering and VFX
  • Compact RGBE encoding reduces file size
  • Perfect for environment maps and IBL lighting
  • Scene-referred data preserves physical accuracy
Disadvantages
  • RLE compression is inefficient for photographic content
  • Largely obsolete — replaced by PNG, BMP, and modern formats
  • No transparency or alpha channel support
  • No metadata beyond basic header fields
  • Limited modern software support
  • Not displayable without tone mapping software
  • No browser support for direct viewing
  • No transparency or alpha channel
  • RGBE encoding has limited precision in dark areas
  • Larger files than standard 8-bit formats
Common Uses
  • Legacy DOS application graphics and clip art
  • Retro game sprites and pixel art from the 1980s-90s
  • FAX software and document scanning archives
  • Desktop publishing graphics from the DOS era
  • CAD and technical drawing exports
  • 3D rendering and CGI environment lighting (IBL)
  • Architectural visualization and lighting studies
  • HDR photography for tone mapping workflows
  • VFX compositing with scene-referred data
  • Scientific imaging requiring wide luminance range
Best For
  • Accessing legacy DOS-era graphics archives
  • Retro game asset preservation
  • Converting old desktop publishing files
  • Digital archaeology of 1980s-90s PC graphics
  • 3D artists needing environment maps
  • HDR imaging and tone mapping pipelines
  • Architectural lighting simulation
  • VFX compositing with physically accurate light
Version History
Introduced: 1985 (ZSoft Corporation)
Current Version: PCX v5 (24-bit true color, 1991)
Status: Legacy (superseded by PNG and BMP)
Evolution: v0 (1985, 1-bit) → v2 (EGA palette) → v3 (no palette) → v4 (VGA 256) → v5 (24-bit, 1991)
Introduced: 1985 (Greg Ward, Lawrence Berkeley Lab)
Current Version: Radiance RGBE (1991 standardized)
Status: Mature, industry standard for HDR
Evolution: Radiance (1985) → RGBE spec (1991) → OpenEXR alternative (2003) → still widely used
Software Support
Image Editors: Pillow, IrfanView, XnView, GIMP
Web Browsers: No browser support
OS Preview: No modern OS native support
Mobile: No support
CLI Tools: Pillow, ImageMagick, NetPBM
Image Editors: Photoshop, GIMP, Luminance HDR, Photomatix
Web Browsers: No native browser support
OS Preview: Windows (HDR viewer), macOS (Preview limited)
Mobile: Specialized HDR apps only
CLI Tools: ImageMagick, Radiance, imageio, OpenCV

Why Convert PCX to HDR?

Converting PCX to HDR transforms one of the earliest PC graphics formats into a modern high dynamic range file suitable for contemporary imaging workflows. While PCX files typically contain 8-bit or 24-bit pixel data, the HDR format's 32-bit floating point representation ensures these legacy graphics can be integrated into HDR compositing, tone mapping, and 3D rendering pipelines without format compatibility issues.

For digital preservationists working with 1980s and 1990s software archives, PCX to HDR conversion provides a migration path to a format with stronger long-term software support. PCX reading capability is gradually disappearing from modern applications, while HDR remains a staple format in professional imaging. Converting now prevents future data access problems.

Retro game developers and pixel artists occasionally work with original PCX game assets from the DOS era. Converting these to HDR enables their use in modern game engines that support HDR rendering, allowing classic sprite art and textures to be incorporated into projects with physically-based rendering where all textures need to be in linear float format.

The conversion reads the PCX RLE-compressed data, decodes the color planes (handling 1-bit, 4-bit palette, 8-bit palette, and 24-bit RGB variants), converts to linear RGB, and outputs 32-bit float values in RGBE encoding. Both formats use RLE compression, so the PCX to HDR conversion path is naturally efficient, with the RGBE encoding handling the expanded precision cleanly.

Key Benefits of Converting PCX to HDR:

  • Format Preservation: Migrate legacy DOS graphics to modern supported format
  • HDR Pipeline: Integrate retro graphics into HDR compositing workflows
  • Game Development: Use classic PCX assets in modern HDR rendering engines
  • Software Compatibility: HDR opens in Photoshop, GIMP, and all major tools
  • Linear Color: Convert palette and indexed color to linear float for accuracy
  • Archive Migration: Move PCX collections to a widely-supported standard
  • Lossless Path: Both formats use RLE — conversion preserves all pixel data

Practical Examples

Example 1: Retro Game Asset Modernization

Scenario: A game developer converts original DOS game PCX sprites to HDR for integration into a modern remastered version using a PBR rendering engine.

Source: hero_sprite_sheet.pcx (45 KB, 640x480, 256-color palette)
Conversion: PCX → HDR (32-bit float RGBE)
Result: hero_sprite_sheet.hdr (180 KB, linear float)

Game remaster workflow:
1. Extract original PCX sprites from DOS game data
2. Convert to HDR for linear color space in modern engine
3. Use as base textures in PBR material pipeline
✓ Original palette colors mapped to linear float values
✓ Compatible with Unity/Unreal HDR texture pipeline
✓ Pixel art integrity preserved at float precision
✓ Nostalgic visuals integrated into modern rendering

Example 2: Technical Drawing Archive Migration

Scenario: An engineering firm converts 1990s CAD-exported PCX technical drawings to HDR for integration into a modern digital asset management system.

Source: circuit_board_v3.pcx (120 KB, 1024x768, 24-bit)
Conversion: PCX → HDR (32-bit float)
Result: circuit_board_v3.hdr (420 KB, float precision)

Archive workflow:
✓ Legacy CAD exports preserved in modern format
✓ Compatible with current document management systems
✓ Crisp line art maintained in float representation
✓ Color-coded circuit elements accurately converted
✓ Searchable and accessible in modern infrastructure

Example 3: Desktop Publishing Clip Art Recovery

Scenario: A design historian converts a collection of 1990s PCX clip art to HDR for use in a retrospective digital art exhibition.

Source: business_icons_pack.pcx (28 KB, 320x240, EGA 16-color)
Conversion: PCX → HDR (32-bit float RGBE)
Result: business_icons_pack.hdr (95 KB, HDR-ready)

Exhibition workflow:
✓ Vintage clip art displayed on HDR exhibition screens
✓ EGA palette colors accurately represented in float
✓ Sharp pixel edges preserved for large display projection
✓ Compatible with exhibition presentation software
✓ Historical digital art accessible for study and display

Frequently Asked Questions (FAQ)

Q: What is the PCX format?

A: PCX (PiCture eXchange) was created by ZSoft Corporation in 1985 for their PC Paintbrush application, which was bundled with many early PCs. It uses run-length encoding (RLE) for lossless compression and supports color depths from 1-bit monochrome through 24-bit true color. PCX was one of the most common image formats on DOS and early Windows before BMP and PNG replaced it.

Q: Why convert PCX to HDR instead of PNG?

A: Convert to HDR when you need the images in a high dynamic range workflow — 3D rendering, HDR compositing, or tone mapping pipelines. For general archival or web use, PNG is usually the better choice. HDR is specifically useful when the output must integrate with professional VFX or 3D lighting tools.

Q: Will the colors look the same after conversion?

A: Yes. The conversion maps PCX color values (palette or RGB) to equivalent floating point values in HDR. When the HDR file is displayed with standard tone mapping (gamma 2.2), the colors appear identical to the original PCX. The float representation simply provides higher precision for downstream processing.

Q: Can PCX files with 256-color palettes be converted?

A: Yes. Our converter handles all PCX color modes: 1-bit monochrome, 4-bit EGA palette (16 colors), 8-bit VGA palette (256 colors), and 24-bit true color. Palette-indexed colors are expanded to full RGB before HDR conversion, preserving the exact colors from the original palette.

Q: How large are the resulting HDR files?

A: HDR files are larger than PCX due to the 32-bit float representation. A typical PCX file of 50-200 KB may produce an HDR file of 100 KB to 1 MB depending on image dimensions and content complexity. The RGBE RLE encoding provides reasonable compression for the expanded data.

Q: Are there different versions of PCX?

A: Yes — PCX evolved through versions 0 (1985, monochrome), 2 (EGA with palette), 3 (without palette), 4 (VGA 256-color), and 5 (1991, 24-bit true color). Each added color depth support. Our converter handles all versions transparently.

Q: What software still reads PCX files?

A: Pillow (Python), IrfanView, XnView, GIMP, and ImageMagick can read PCX files. Modern versions of Photoshop dropped PCX support. As software support continues to decline, converting PCX archives to widely-supported formats like HDR or PNG is increasingly important.

Q: Is PCX related to DCX?

A: Yes — DCX is a multi-page container format that stores multiple PCX images in a single file, commonly used for multi-page fax documents. Each page inside a DCX file is a standard PCX image. Our converter handles both PCX and DCX formats.