"The history of image formats is littered with 'killers' that failed. But JPEG XL is the first one that respects the past while owning the future."
In the fast-moving world of web standards, few topics are as heated as the "Image Format Wars." For years, we've lived in a world dominated by the ancient JPEG. Then came WebP, followed by the high-performance AVIF. But in the background, a new challenger was being forged by the same committee that gave us the original JPEG: **JPEG XL (JXL).** The story of JPEG XL is one of the most dramatic in software history. It is a story of technical superiority, corporate controversy, and a community-led resurrection. In early 2023, Google shockingly removed JPEG XL support from the Chrome stable build, claiming there wasn't enough "ecosystem interest." The image community erupted in a two-year-long campaign to bring it back. Today, in 2026, JPEG XL has returned—not just as another format, but as the high-fidelity bridge between the legacy web and the professional world of 8K HDR photography.
1. Return of the King: The JXL Controversy
Why was JPEG XL so controversial? When developers first tested it in late 2022, the results were staggering. It was faster than AVIF, supported larger resolutions, and offered a feature that no other format had: **Lossless Legacy Transcoding.** However, in a move that confused the industry, Google engineers removed the JXL "flag" from the Chrome stable build in 2023. The official rationale was a "lack of ecosystem interest," but the developer community quickly proved otherwise. Thousands of users, photographers, and engineers from major companies like Adobe, Facebook, and Intel petitioned for its return. They argued that AVIF, while good for low-bitrate thumbnails, couldn't handle the high-bitrate, large-resolution needs of professional photography. The community-led campaign was relentless, and by 2025, browser vendors realized that without JXL, the open web would lose to the proprietary HDR formats used by smartphones. Today, JPEG XL is again a first-class citizen, and it's changing how we think about storage.
2. VarDCT: The Intelligence of Variable Blocks
The secret weapon of JPEG XL is **VarDCT (Variable-block Discrete Cosine Transform).** To understand why this is a massive upgrade, think of the original JPEG. It views the world in rigid 8x8 pixel squares. Whether the image is a plain blue sky or a complex crowd of faces, JPEG uses the same 8x8 blocks. This is incredibly inefficient. JPEG XL is smarter. It uses a perceptual metric called **Butteraugli** (a Swiss-German term meaning "butter eyes") to determine where to spend the data. Butteraugli mathematically models the human fovea to detect exactly where the human eye will notice artifacts. Using this intelligence, JXL can use blocks as small as 2x2 for sharp edges and text, or as massive as **64x64** for flat areas like the sky. This adaptive nature allows it to optimize the bitstream for the human brain rather than just for a computer's pixel-matching algorithm.
VarDCT Simulation: Adaptive Block Mapping
(Flat Sky)
Unlike legacy JPEG's fixed 8x8 grid, JPEG XL uses massive blocks for simple areas and tiny, high-precision blocks for complex details.
3. The Speed Advantage: Hardware vs. Software
In the format wars of the early 2020s, AVIF had one major advantage: hardware support. Because AVIF is based on the AV1 video codec, many modern phones and GPUs could decode it "for free" in their hardware chips. JPEG XL, being a completely new architecture, initially had to rely on **Software Decoding**. However, the JXL developers used a technique called **SIMD (Single Instruction, Multiple Data)** to make software decoding incredibly fast—often faster than hardware-assisted JPEG decoding. By 2026, the situation has improved further. Major GPU architectures and smartphone SOCs (System on a Chip) now include dedicated JXL decoding circuits. This hardware synergy means that JXL can be rendered on your smartphone with virtually zero battery impact, making it the most energy-efficient high-fidelity format in history.
4. The Holy Grail: Lossless Legacy Transcoding
This is the "killer feature" that makes JPEG XL the successor to the internet's most popular format. Normally, if you want to convert a JPEG to WebP or AVIF, you have to decode the image and re-encode it. This is called **Generation Loss**. Every time you re-encode, you lose detail. But JPEG XL was designed with "backward compatibility" in its DNA. It can take a legacy JPEG file and re-package it into the JPEG XL format **bit-for-bit.** No data is changed. No detail is lost. But because the JXL container is so much more efficient, the file size shrinks by an average of **20% instantly.** This means a company with 100 petabytes of JPEGs can magically save 20 petabytes of storage with zero risk to their image quality. This is the ultimate "free lunch" in computer science.
The Math of "Free" Storage
*Result: 20% savings with zero generation loss. The file can be converted back to the original JPEG at any time.
5. Modular Mode: Graphics & Lossless
JPEG XL isn't just for photos. It includes a completely separate encoding path called **Modular Mode**. Modular mode is designed specifically for graphics, text, and diagrams—the domain usually owned by PNG. It uses a series of math "transformations" (like the Squeeze transform) to achieve lossless compression that often beats PNG and even outperforms specialized formats. This makes JXL the first format that can truly replace both JPEG (for photos) and PNG (for graphics) in a single, high-performance package.
6. Beyond 8-bit: HDR and the Professional Workflow
The original JPEG is limited to 8-bit color. This means it can only describe 16.7 million colors. In 1992, that was plenty. In 2026, it's a bottleneck. Modern iPhone and Android cameras capture 10-bit or 12-bit data, and professional RAW files go up to 14 or 16 bits. JPEG XL supports up to **32 bits per channel.** It has native support for **High Dynamic Range (HDR)** and Wide Color Gamuts (like Rec.2020). For photographers, this means being able to save images that capture the true brightness of a sunset without "clipping" the whites or crushing the blacks into mud. It brings pro-grade photography to the browser without the massive file sizes of TIFF or PSD files.
Ready to optimize? You can use our Free Image Compressor to instantly optimize your images using the methods described above.
JPEG XL Technical FAQ
?Is JPEG XL faster than AVIF?
Yes. In terms of encoding speed, JXL is significantly faster than AVIF, making it better for real-time user uploads. Decoding speed is also extremely competitive, especially since JXL can be hardware-accelerated on modern GPUs.
?Do I need to pay license fees to use JPEG XL?
No. Unlike some older formats, JPEG XL is a royalty-free, open standard. You can implement it in your software without paying single cent to any patent holder.
?Can JXL handle transparency like PNG?
Absolutely. JXL supports full alpha-channel transparency (including 16-bit transparency) and it does so more efficiently than PNG for both photographic and graphic content.
?How does the lossless transcoding actually work?
It maps the DCT coefficients of the JPEG directly into the JXL bitstream. Because it's a structural transformation rather than a pixel-data re-compression, the process is mathematically reversible.
?Will JXL replace WebP and AVIF?
In 2026, they coexist. WebP is the legacy champion, AVIF is the specialized choice for extreme low-bitrate mobile web, but JXL is the high-fidelity standard that professionals and photographers are standardizing on.
?Can I use JXL for animated images?
Yes. JXL has built-in support for animation that kills the file-size of GIF and provides much better color quality and frame-rate control.
?Does PixUp support JPEG XL?
Yes! Our engine uses a WebAssembly port of the libjxl library to provide high-speed, local JXL compression directly in your browser without any server uploads.
The Last Format You'll Need
JPEG XL isn't just about making files smaller; it's about making the web better for everyone. From the casual user saving storage space on their smartphone to the professional photographer demanding 16-bit wide-gamut fidelity, JXL is the first format that truly satisfies every layer of the digital ecosystem. Its return to the browser in 2025/2026 marks the end of a fragmented web and the beginning of a high-fidelity future.


