Free webp to jpg
Image MIME Reference
G3-Fax

Group 3 Fax Image

image/g3fax
VS

Pentax Electronic File

image/x-pentax-pef
Pentax-PEF

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

Equal browser support

Feature Support

Feature G3-Fax Pentax-PEF
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
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 →
Pentax Electronic File
image/x-pentax-pef
Extension
.pef
Container TIFF-based (Proprietary)
Compression Uncompressed / Proprietary Lossless
Algorithm
NonePentax Proprietary Lossless
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Pentax (now Ricoh Imaging Company, Ltd.)
Released 2003
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Full Pentax-PEF reference →

Browser Support Comparison

Browser G3-Fax Pentax-PEF
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
Pentax-PEF

Pentax-PEF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • White balance and sharpening are saved as metadata instructions rather than 'baked in', meaning they can be perfectly adjusted in post-production
  • Utilizes the standard TIFF container structure, making it relatively straightforward for open-source software like LibRaw to parse
Limitations
  • Proprietary format requires continuous updates to third-party processing software whenever Pentax releases a new camera model (unlike the open DNG format)
  • Produces very large file sizes compared to standard web formats
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

When to choose which format

G3-Fax
Use G3-Fax when…
  • Telefacsimile (Fax) Transmission
  • Internet Fax (T.37)
  • Document Archiving
  • Telephony Systems
Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Share this comparison