July 7th, 2024

Overview of JPEG XL

JPEG XL is a feature-rich image coding system optimized for web, promising better quality and compression than traditional JPEG. It supports advanced features like animation and high dynamic range.

Read original articleLink Icon
Overview of JPEG XL

JPEG XL is the latest addition to the JPEG family, offering a feature-rich image coding system optimized for responsive web environments. It allows for seamless transition from legacy JPEG formats, reducing storage costs by serving both JPEG and JPEG XL clients with a single file. The migration process from existing JPEG files to JPEG XL is efficient and maintains backward compatibility. This new standard supports wide color gamut, high dynamic range, and high bit depth images, along with features like animation, alpha channels, and lossless coding. JPEG XL promises better image quality and compression ratios compared to traditional JPEG, without requiring additional hardware acceleration for encoding and decoding. The codec is designed to balance fidelity, speed, and compression ratio, catering to various applications such as photo galleries, e-commerce, and social media. Currently, JPEG XL is being developed in multiple parts, including core coding system, file format specification, conformance testing, and reference software for implementation.

Related

SVG: The Good, the Bad, and the Ugly (2021)

SVG: The Good, the Bad, and the Ugly (2021)

SVG, scalable vector graphics, is a versatile format for web design, supporting various graphic elements like paths, shapes, text, and animations. Despite its power, its complexity and extensive specifications can be challenging for users.

JEP 401: Value Classes and Objects (Preview)

JEP 401: Value Classes and Objects (Preview)

JEP 401 introduces value classes and objects in Java, focusing on optimizing memory efficiency by distinguishing objects solely by their field values, not identity. This feature enhances performance for simple domain values.

How Video Works

How Video Works

The site explains video playback intricacies, including subtitles, adaptive streaming, HLS, DASH technologies, and player selection for optimal streaming experience. Fast delivery and adaptive bitrate enhance viewing quality.

GPUs can now use PCIe-attached memory or SSDs to boost VRAM capacity

GPUs can now use PCIe-attached memory or SSDs to boost VRAM capacity

Major companies like AMD, Intel, and Nvidia are considering supporting Panmnesia's CXL IP technology for GPU memory expansion using PCIe-attached memory or SSDs. The low-latency CXL IP addresses increasing memory needs for AI training datasets, offering improved GPU performance for AI and HPC applications. Adoption by GPU manufacturers is uncertain, potentially shaping future GPU memory expansion technologies.

Do grayscale images take less space?

Do grayscale images take less space?

Grayscale images are space-efficient, but optimized sRGB images with 4:2:0 subsampling can match their size. Y'CbCr color space in formats like JPEG allows separate optimization of brightness and color, balancing file size and visual quality effectively.

Link Icon 5 comments
By @Dwedit - 7 months
I'm a big supporter of JPEG-XL. It has something very unique that has not been seen in an image file format before: An option for Lossy compression that isn't DCT-based. So you can't get ringing or blocking, because there are is no DCT at all. The actual artifacts you do get are not at all like what you get with JPEG. Instead, you are likely to see things like slight pixellation or banding when your quality level is too low.

In order to get the non-DCT lossy compression, you need to request "Modular Mode" in the program that compresses the image. But for some reason I don't know, Irfanview is literally hiding that checkbox from you, and you can enable the feature by editing the dialog resource and making the checkbox no longer hidden.

---

Meanwhile, I still prefer WEBP for lossless compression, because the decompression code is so fast. In terms of who has the best lossless compression, WEBP and JXL easily beat AVIF, and JXL usually beats WEBP, but not always. In one case, I saw a grayscale BMP file getting better compression with FLAC (!) than JXL.

WEBP's lossy format is just not that good, AVIF and JXL beat the hell out of it, sometimes the JPEG even looks better. But WEBP's lossless format is excellent.

By @smittywerben - 7 months
Didn't the Chromium team repeatedly close the JPEG XL feature request without comment, and the beta support was removed by devs who work for WEBP?

[1] https://news.ycombinator.com/item?id=36213330 (2024)

[2] https://news.ycombinator.com/item?id=39250938 (2023)

By @yboris - 7 months
Related: https://jpegxl.info/

And why this format should be more-supported than currently: https://jpegxl.info/why-jxl.html

By @dheera - 7 months
Considering how much stuff it seems to want to support, I wonder how much software will actually support it correctly to specification. This seems like the USB-C of image file formats.