# libjxl/libjxl

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/libjxl-libjxl).**

3,375 stars · 335 forks · C++ · bsd-3-clause

## Links

- GitHub: https://github.com/libjxl/libjxl
- awesome-repositories: https://awesome-repositories.com/repository/libjxl-libjxl.md

## Topics

`codec` `decoder` `encoder` `image-compression` `images` `jpeg` `jpeg-xl` `jxl` `lossless-compression-algorithm` `lossless-image-compression` `lossless-images` `lossy` `lossy-compression` `lossy-image-compression` `photography` `photos`

## Description

libjxl is an open-source library for encoding and decoding images in the JPEG XL format. It provides the core codec functionality needed to compress source images into JPEG XL and decompress JPEG XL files back into common raster image representations.

The library supports adjustable quality, distance, and effort settings during encoding, and handles conversion between different color spaces during encode or decode operations. It also enables reading and writing of embedded metadata such as EXIF, XMP, and color profiles.

For performance, libjxl includes benchmarking tools for decode speed and supports distributing compression and decompression work across multiple threads to improve throughput.

## Tags

### Graphics & Multimedia

- [JPEG XL Codec Libraries](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing/codec-encoding-utilities/media-codec-libraries/jpeg-xl-codec-libraries.md) — The core JPEG XL codec library providing encoding, decoding, metadata, and color space support.
- [Image Decoding](https://awesome-repositories.com/f/graphics-multimedia/image-decoding.md) — Provides the core JPEG XL decoding capability to decompress images into usable pixel data. ([source](https://github.com/libjxl/libjxl/tree/main/doc/sphinx))
- [JPEG XL Decoders](https://awesome-repositories.com/f/graphics-multimedia/image-decoding/jpeg-xl-decoders.md) — Provides the core JPEG XL decoding functionality to decompress images into standard raster formats. ([source](https://cdn.jsdelivr.net/gh/libjxl/libjxl@main/README.md))
- [JPEG XL Encoders](https://awesome-repositories.com/f/graphics-multimedia/image-encoders/jpeg-xl-encoders.md) — Provides the core JPEG XL encoding functionality to compress images into the JPEG XL format. ([source](https://cdn.jsdelivr.net/gh/libjxl/libjxl@main/README.md))
- [Metadata Writing](https://awesome-repositories.com/f/graphics-multimedia/exif-metadata-handling/metadata-writing.md) — Supports reading and writing EXIF, XMP, and color profile metadata embedded in JPEG XL images. ([source](https://github.com/libjxl/libjxl/tree/main/doc/sphinx))
- [Color Space Converters](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/image-processing/color-space-converters/color-space-converters.md) — Ships color space conversion between different encodings during JPEG XL encode and decode operations. ([source](https://github.com/libjxl/libjxl/tree/main/doc/sphinx))
- [Parallel Encoding and Decoding](https://awesome-repositories.com/f/graphics-multimedia/video-encoding-and-decoding/parallel-encoding-and-decoding.md) — Supports distributing JPEG XL encoding and decoding work across multiple threads for improved throughput. ([source](https://github.com/libjxl/libjxl/tree/main/doc/sphinx))

### Part of an Awesome List

- [Image Processing](https://awesome-repositories.com/f/awesome-lists/media/image-processing.md) — Reference implementation for the JPEG XL image format.
