DCX

DCX is an image file format based on PCX. It supports multiple images in a single file.

Format
DCX files begin with a 4-byte signature.

Following that is a list of up to 1023 4-byte file offsets, terminated by an offset of 0.

Following that are the individual images, stored as embedded PCX files. The first one usually starts at file offset 4100 (0x1004).

Identification
Files begin with signature bytes.

Specifications

 * PCX File Format Summary (includes information about DCX)

Software

 * ImageMagick

Sample files

 * input.dcx (PerlMagick test file)