Free webp to jpg
Image MIME Reference
G3-Fax

Group 3 Fax Image

image/g3fax
VS

Portable Graymap

image/x-portable-graymap
PGM

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

Equal browser support

Feature Support

Feature G3-Fax PGM
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
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 →
Portable Graymap
image/x-portable-graymap
Extension
.pgm
Container Netpbm
Compression Uncompressed
Algorithm
None
Color Depth 8-bit (Grayscale), 16-bit (Grayscale)
Developed by Jef Poskanzer (Netpbm Project)
Released 1988
Magic Bytes
50 32 (ASCII) or 50 35 (Binary)
Full PGM reference →

Browser Support Comparison

Browser G3-Fax PGM
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
PGM

PGM Strengths

  • Extremely simple format allows custom parsers to be written from scratch in minimal time
  • Supports 16-bit precision, making it highly valuable for scientific, medical, and height-map data where 8-bit precision is insufficient
  • ASCII encoding ('P2') allows manual editing and visual inspection of pixel values directly within a text editor
Limitations
  • Strictly limited to grayscale; cannot display color
  • Lack of compression results in massive file sizes, making it entirely impractical for web delivery or consumer storage
  • Does not support alpha transparency or modern metadata structures

When to choose which format

G3-Fax
Use G3-Fax when…
  • Telefacsimile (Fax) Transmission
  • Internet Fax (T.37)
  • Document Archiving
  • Telephony Systems
PGM
Use PGM when…
  • Computer Vision and Machine Learning Pre-processing
  • Scientific and Medical Image Processing
  • Unix/Linux Command-Line Image Pipelines
Share this comparison