Free webp to jpg
Image MIME Reference
JNG

JPEG Network Graphics

image/x-jng
VS

JPEG XS Image (HEIF Container)

image/jxsi
JPEG-XS-(HEIF)

A complete technical comparison of JPEG Network Graphics and JPEG XS Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature JNG JPEG-XS-(HEIF)
Transparency (Alpha) Yes Yes
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 →
JPEG XS Image (HEIF Container)
image/jxsi
Extension
.jxsi.jxs.hif
Container HEIF / ISOBMFF (ISO/IEC 23008-12)
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
Color Depth 8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by Joint Photographic Experts Group (JPEG)
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 73 69
Full JPEG-XS-(HEIF) reference →

Browser Support Comparison

Browser JNG JPEG-XS-(HEIF)
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
JPEG-XS-(HEIF)

JPEG-XS-(HEIF) Strengths

  • Provides sub-millisecond encoding and decoding latency while retaining visually lossless quality
  • Brings the extensive metadata, EXIF, XMP, and color-profiling capabilities of the HEIF container to JPEG XS
  • Allows grouping of multiple high-quality JPEG XS frames into a single collection file
Limitations
  • Zero web browser compatibility, limiting it entirely to professional and industrial hardware workflows
  • Extremely niche adoption compared to standard HEVC-based HEIC or raw JPEG XS codestreams
  • Requires custom parsing logic to extract the JPEG XS codestream from the HEIF boxes

When to choose which format

JNG
Use JNG when…
  • Embedded frames in MNG animations
  • Historical web graphics requiring lossy compression with transparency
JPEG-XS-(HEIF)
Use JPEG-XS-(HEIF) when…
  • Live Broadcast Infrastructure
  • Medical Imaging & Archival
  • Video over IP Networks
  • Automotive & Drone Systems
Share this comparison