Free webp to jpg
Image MIME Reference
JNG

JPEG Network Graphics

image/x-jng
VS

Sony SRF Raw Image

image/x-sony-srf
Sony-SRF

A complete technical comparison of JPEG Network Graphics and Sony SRF Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature JNG Sony-SRF
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 Network Graphics
image/x-jng
Extension
.jng
Container PNG-style Chunk Structure (JHDR, JDAT, IDAT, IEND)
Compression Lossy (JPEG/DCT for color) / Lossless (Deflate for alpha mask)
Algorithm
JPEG (Discrete Cosine Transform)Deflate (LZ77)
Color Depth 8-bit, 12-bit, 24-bit (RGB), 32-bit (RGBA)
Developed by MNG Development Group (Glenn Randers-Pehrson et al.)
Released 2001
Magic Bytes
8B 4A 4E 47 0D 0A 1A 0A
Full JNG reference →
Sony SRF Raw Image
image/x-sony-srf
Extension
.srf
Container TIFF-based (Proprietary)
Compression Uncompressed
Algorithm
None
Color Depth 12-bit (Per Channel)
Developed by Sony Corporation
Released 2003
Magic Bytes
49 49 2A 00
Full Sony-SRF reference →

Browser Support Comparison

Browser JNG Sony-SRF
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
JNG

JNG Strengths

  • Solved a massive technical hurdle in the early 2000s by combining high-compression lossy photographic data with crisp, 8-bit alpha transparency
  • Utilized the highly robust, extensible chunk-based architecture of the PNG format
  • Provided an excellent, bandwidth-saving alternative to massive 32-bit transparent PNGs for web design
Limitations
  • Failed to achieve critical mass; browser vendors largely abandoned the MNG/JNG standard due to implementation complexity
  • Completely obsolete today, having been superseded by natively supported, superior formats like WebP, AVIF, and HEIC
  • Decoding requires a hybrid engine that can parse PNG chunks while simultaneously decoding a JPEG stream and a Deflate stream, complicating software support
Sony-SRF

Sony-SRF Strengths

  • Retains perfectly raw, unprocessed sensor data from legacy early-2000s cameras, allowing modern raw processors to extract much better dynamic range and color than the camera's original internal JPEG engine could
  • Utilizes a standard TIFF container structure, ensuring broad compatibility with community-maintained open-source decoding libraries like LibRaw
Limitations
  • Completely obsolete format that has long been abandoned in favor of ARW
  • MIME detection via magic bytes is unreliable due to TIFF header spoofing, requiring deeper EXIF inspection for accurate routing
  • Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders

When to choose which format

JNG
Use JNG when…
  • Embedded frames in MNG animations
  • Historical web graphics requiring lossy compression with transparency
Sony-SRF
Use Sony-SRF when…
  • Legacy Sony Cyber-shot Photography
  • Non-destructive Image Post-Processing
  • Early 2000s Raw Imaging Archival
Share this comparison