Free webp to jpg
Image MIME Reference
G3-Fax

Group 3 Fax Image

image/g3fax
VS

X Pixmap

image/x-xpixmap
XPM

A complete technical comparison of Group 3 Fax Image and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature G3-Fax XPM
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
Group 3 Fax Image
image/g3fax
Extension
.g3
Container Raw Bitstream
Compression Lossless (CCITT Group 3)
Algorithm
CCITT Group 3 (Modified Huffman / READ)
Color Depth 1-bit (Monochrome)
Developed by CCITT (now ITU-T) / IETF
Released 1980
Magic Bytes
None (Raw Bitstream)
Full G3-Fax reference →
X Pixmap
image/x-xpixmap
Extension
.xpm
Container C Source Code Header (.c / .h)
Compression Uncompressed (Source Code)
Algorithm
None
Color Depth Indexed Color (Custom Palette with RGB and Alpha 'None')
Developed by Daniel Dardailler and Colas Nahaboo (Bull / X Consortium)
Released 1989
Magic Bytes
2F 2A 20 58 50 4D 20 2A 2F (ASCII '/* XPM */')
Full XPM reference →

Browser Support Comparison

Browser G3-Fax XPM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
G3-Fax

G3-Fax Strengths

  • Extremely efficient compression for 1-bit black-and-white text and line art
  • Standardized via RFC 1494 for email and internet fax transmission
  • Low bandwidth requirements
Limitations
  • Raw format lacks metadata (such as image width and resolution), requiring out-of-band information to decode accurately
  • Strictly limited to 1-bit monochrome imagery
  • Zero native web browser support
XPM

XPM Strengths

  • Can be compiled directly into C or C++ source code without requiring an external asset loading mechanism
  • Human-readable palette mapping allows developers to inspect, modify, or hand-craft icons directly within a text editor
  • Native support for color palettes and transparency via the 'None' keyword
Limitations
  • Extremely inefficient storage structure for large images, resulting in massive file bloat compared to binary formats like PNG
  • Completely obsolete and unsupported in modern web browsers
  • Parsing overhead requires compiling or interpreting text-based color tables at runtime

When to choose which format

G3-Fax
Use G3-Fax when…
  • Telefacsimile (Fax) Transmission
  • Internet Fax (T.37)
  • Document Archiving
  • Telephony Systems
XPM
Use XPM when…
  • X Window System (X11) Application Icons and Cursors
  • Embedded C/C++ Firmware Color UI Assets
  • Early Linux Desktop Environment Themes
Share this comparison