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

jxl-color

JPEG XL color management functions, part of jxl-oxide

16 releases (8 breaking)

new 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

#638 in Images

Download history 305/week @ 2024-07-12 288/week @ 2024-07-19 756/week @ 2024-07-26 485/week @ 2024-08-02 418/week @ 2024-08-09 271/week @ 2024-08-16 326/week @ 2024-08-23 423/week @ 2024-08-30 451/week @ 2024-09-06 376/week @ 2024-09-13 675/week @ 2024-09-20 520/week @ 2024-09-27 2026/week @ 2024-10-04 2200/week @ 2024-10-11 1309/week @ 2024-10-18 1423/week @ 2024-10-25

7,014 downloads per month
Used in 14 crates (3 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