Free webp to jpg
Image MIME Reference
Pentax-PEF

Pentax Electronic File

image/x-pentax-pef
VS

Sigma X3F RAW Image

image/x-sigma-x3f
Sigma-X3F

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

Equal browser support

Feature Support

Feature Pentax-PEF Sigma-X3F
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
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 →
Sigma X3F RAW Image
image/x-sigma-x3f
Extension
.x3f
Container Foveon Proprietary Header
Compression Uncompressed / Proprietary Lossless
Algorithm
NoneFoveon Proprietary Huffman-based
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Foveon, Inc. / Sigma Corporation
Released 2002
Magic Bytes
46 4F 56 62
Full Sigma-X3F reference →

Browser Support Comparison

Browser Pentax-PEF Sigma-X3F
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
Sigma-X3F

Sigma-X3F Strengths

  • Provides absolute per-pixel color accuracy without the interpolation artifacts or moiré patterns typical of Bayer-sensor RAW files
  • Unique 'FOVb' magic byte signature prevents accidental misidentification by standard file sniffers, unlike many TIFF-based raw formats
  • Incredible sharpness and detail resolution at the raw sensor level
Limitations
  • Decoding is extremely computationally expensive and completely proprietary, meaning third-party software often struggles to match the color science of Sigma's own (famously slow) Photo Pro application
  • Massive file sizes because it records three complete RGB channels for every single spatial pixel coordinate
  • Zero support in web browsers or standard OS image viewers

When to choose which format

Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Sigma-X3F
Use Sigma-X3F when…
  • Professional Digital Photography
  • Sigma / Foveon High-Acuity Imaging
  • Non-destructive RAW Post-Processing
Share this comparison