Free webp to jpg
Image MIME Reference
Olympus-ORF

Olympus Raw Format

image/x-olympus-orf
VS

Pentax Electronic File

image/x-pentax-pef
Pentax-PEF

A complete technical comparison of Olympus Raw Format and Pentax Electronic File — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Olympus-ORF Pentax-PEF
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
Olympus Raw Format
image/x-olympus-orf
Extension
.orf
Container TIFF-based (with proprietary variants)
Compression Uncompressed / Proprietary Lossless
Algorithm
NoneOlympus Proprietary Lossless
Color Depth 12-bit (Per Channel)
Developed by Olympus Corporation (Now OM Digital Solutions)
Released 2000
Magic Bytes
49 49 52 4F (IIRO) or 4D 4D 4F 52 (MMOR) or 49 49 53 52 (IIRS)
Full Olympus-ORF 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 Olympus-ORF Pentax-PEF
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Olympus-ORF

Olympus-ORF Strengths

  • Retains maximum sensor data, allowing extreme recovery of highlights and shadows that would be permanently lost in a JPEG
  • White balance, sharpening, and color profiling are saved as metadata instructions, meaning they can be completely altered in post-production
  • Unique magic byte signatures make programmatic file sniffing highly reliable compared to other camera manufacturers' TIFF-spoofing headers
Limitations
  • Proprietary format means it requires constant updates to raw processing engines every time a new camera model is released
  • Produces very large file sizes (often 15MB to 30MB+ per image depending on sensor resolution)
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
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

Olympus-ORF
Use Olympus-ORF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Imaging Archival
Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Share this comparison