#jpegxl #decoder #jxl-oxide

jxl-color

JPEG XL color management functions, part of jxl-oxide

20 releases (10 breaking)

Uses new Rust 2024

0.11.0 Apr 27, 2025
0.10.2 Mar 29, 2025
0.10.0 Dec 28, 2024
0.9.0 Nov 1, 2024
0.3.2 Jun 16, 2023

#8 in #jxl-oxide

Download history 8875/week @ 2025-07-28 8331/week @ 2025-08-04 8503/week @ 2025-08-11 12653/week @ 2025-08-18 10836/week @ 2025-08-25 13475/week @ 2025-09-01 10147/week @ 2025-09-08 12477/week @ 2025-09-15 10398/week @ 2025-09-22 10424/week @ 2025-09-29 9809/week @ 2025-10-06 16390/week @ 2025-10-13 10303/week @ 2025-10-20 10153/week @ 2025-10-27 12518/week @ 2025-11-03 13301/week @ 2025-11-10

47,358 downloads per month
Used in 21 crates (3 directly)

MIT/Apache

430KB
10K SLoC

This crate provides a set of functions related to color encodings defined by the JPEG XL specification.

Color transformation

jxl-color can handle the transformation between "well-known" color encodings without any external color management system, since it is required by the specification. Such transformations can be done by creating a ColorTransform.

Modules

  • consts defines constants used by the various colorspaces.
  • [icc] provides functions related to ICC profiles.

jxl-color

This crate provides a set of functions related to color encodings defined by the JPEG XL specification. Especially, these functions can perform conversion from the XYB colorspace to all of the "enum colorspaces" which can be signalled in the JPEG XL image header.

Dependencies

~310–450KB