Free webp to jpg
Image MIME Reference
DNG

Adobe Digital Negative

image/x-adobe-dng
VS

JPEG Network Graphics

image/x-jng
JNG

A complete technical comparison of Adobe Digital Negative and JPEG Network Graphics — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DNG JNG
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
HDR Support Yes ✕ No
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
Adobe Digital Negative
image/x-adobe-dng
Extension
.dng
Container TIFF/EP
Compression Lossless JPEG / Deflate / Lossy JPEG (DNG 1.4+)
Algorithm
Lossless JPEG (Standard)Lossy JPEG (Compression option)Uncompressed
Color Depth 12-bit, 14-bit, 16-bit, 32-bit (Floating Point HDR)
Developed by Adobe Systems
Released 2004
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Full DNG reference →
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 →

Browser Support Comparison

Browser DNG JNG
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DNG

DNG Strengths

  • Openly documented specification guarantees long-term archival accessibility, freeing photographers from proprietary manufacturer lock-in
  • Lossless compression algorithms often result in files 15-20% smaller than uncompressed proprietary raw formats
  • Natively supported by modern smartphone operating systems (iOS and Android) for high-end mobile photography
Limitations
  • Conversion from proprietary raw to DNG takes processing time and can strip specific, proprietary manufacturer metadata (like active D-Lighting or in-camera lens corrections)
  • File sizes are massive compared to standard JPEGs or HEIC files
  • Cannot be rendered natively in web browsers without server-side processing or WebAssembly decoders
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

When to choose which format

DNG
Use DNG when…
  • Digital Photography Archival
  • Mobile Raw Capture (iOS ProRAW / Android Camera2 API)
  • Cross-Platform Raw Editing Workflows
JNG
Use JNG when…
  • Embedded frames in MNG animations
  • Historical web graphics requiring lossy compression with transparency
Share this comparison