Free webp to jpg
Image MIME Reference
JPM

JPEG 2000 Compound Image File Format

image/jpm
VS

Panasonic RAW Image

image/x-panasonic-raw
Panasonic-RAW-(RW2)

A complete technical comparison of JPEG 2000 Compound Image File Format and Panasonic RAW Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature JPM Panasonic-RAW-(RW2)
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading Yes ✕ No
HDR Support ✕ No Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
JPEG 2000 Compound Image File Format
image/jpm
Extension
.jpm.jpgm
Container ISOBMFF / JPM (ISO/IEC 15444-6)
Compression Lossy / Lossless / Mixed Raster Content (MRC)
Algorithm
JPEG 2000JBIG2JPEGMMR
Color Depth 1-bit (Text/Masks), 8-bit, 16-bit, 24-bit
Developed by Joint Photographic Experts Group (JPEG)
Released 2003
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 6D 20
Full JPM reference →
Panasonic RAW Image
image/x-panasonic-raw
Extension
.raw.rw2
Container TIFF-based (Proprietary)
Compression Uncompressed / Panasonic Proprietary Lossless
Algorithm
NoneProprietary Lossless
Color Depth 12-bit (Per Channel), 14-bit (Per Channel), 16-bit (Per Channel - High-res mode)
Developed by Panasonic Corporation
Released 2004
Magic Bytes
Older RAW: 49 49 2A 00 | Newer RW2: 49 49 55 00
Full Panasonic-RAW-(RW2) reference →

Browser Support Comparison

Browser JPM Panasonic-RAW-(RW2)
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
JPM

JPM Strengths

  • Highly optimized for scanned documents, drastically reducing file sizes without sacrificing the readability of text or the quality of embedded photos
  • Supports multi-page documents within a single file
  • Object-based architecture allows for complex layout representation and independent extraction of elements
Limitations
  • Failed to achieve widespread adoption, largely being overshadowed by PDF/A and DjVu
  • Zero native web browser compatibility
  • Requires complex, specialized software to properly encode and decode the multi-layered MRC structure
Panasonic-RAW-(RW2)

Panasonic-RAW-(RW2) Strengths

  • Retains maximum sensor data, allowing significant recovery of highlights and shadows compared to in-camera JPEGs
  • Modern RW2 files embed proprietary lens correction profiles (distortion, vignetting, chromatic aberration) that raw converters can automatically apply
  • The unique 'IIU' signature on RW2 files makes programmatic identification extremely reliable compared to other TIFF-spoofing raw formats
Limitations
  • Proprietary format requires continuous updates to third-party processing engines whenever Panasonic releases a new Lumix camera
  • Produces very large file sizes, particularly when using Panasonic's High-Resolution multi-shot modes
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

When to choose which format

JPM
Use JPM when…
  • Scanned Document Archiving
  • Mixed Raster Content (MRC) Imaging
  • Digital Libraries
Panasonic-RAW-(RW2)
Use Panasonic-RAW-(RW2) when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Lumix Archival
Share this comparison