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

jxl-color

JPEG XL color management functions, part of jxl-oxide

12 releases (6 breaking)

0.7.0 Mar 26, 2024
0.6.1 Feb 28, 2024
0.5.0 Jan 13, 2024
0.4.0 Nov 21, 2023
0.1.2 May 11, 2023

#712 in Images

Download history 390/week @ 2024-01-01 249/week @ 2024-01-08 320/week @ 2024-01-15 167/week @ 2024-01-22 97/week @ 2024-01-29 98/week @ 2024-02-05 173/week @ 2024-02-12 351/week @ 2024-02-19 546/week @ 2024-02-26 233/week @ 2024-03-04 205/week @ 2024-03-11 298/week @ 2024-03-18 391/week @ 2024-03-25 474/week @ 2024-04-01 127/week @ 2024-04-08 230/week @ 2024-04-15

1,232 downloads per month
Used in 8 crates (3 directly)

MIT/Apache

355KB
9K 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

~340–465KB