#jpegxl #decoder #jxl-oxide #color-conversion

jxl-color

JPEG XL color management functions, part of jxl-oxide

16 releases (8 breaking)

0.9.0 Nov 1, 2024
0.8.0 Sep 9, 2024
0.7.1 Jul 30, 2024
0.7.0 Mar 26, 2024
0.3.2 Jun 16, 2023

#654 in Images

Download history 258/week @ 2024-08-17 321/week @ 2024-08-24 424/week @ 2024-08-31 451/week @ 2024-09-07 375/week @ 2024-09-14 701/week @ 2024-09-21 651/week @ 2024-09-28 2233/week @ 2024-10-05 1947/week @ 2024-10-12 1318/week @ 2024-10-19 1708/week @ 2024-10-26 1855/week @ 2024-11-02 4861/week @ 2024-11-09 5180/week @ 2024-11-16 5116/week @ 2024-11-23 4915/week @ 2024-11-30

20,283 downloads per month
Used in 18 crates (4 directly)

MIT/Apache

375KB
10K SLoC

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.


lib.rs:

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.

Dependencies

~330–460KB