This PR updated libjxl to 0.6.1+ and improved feature support in JXL.swift.
One notable change is that non-grayscale images are now decoded into 32bit float, which aligns to the official decoder example and avoids clipping wide gamut images.
I have tested JXL.swift against https://github.com/libjxl/conformance. Among the test cases, CMYK image is not yet supported: The official djxl decoder also missed the Black channel so I guess they aren't many we can do about that.
Animated JXL has partial support: we display the first frame instead of the last frame for better performance. We should decide later if we want to support animations.
This PR updated libjxl to 0.6.1+ and improved feature support in
JXL.swift
.One notable change is that non-grayscale images are now decoded into 32bit float, which aligns to the official decoder example and avoids clipping wide gamut images.
I have tested
JXL.swift
against https://github.com/libjxl/conformance. Among the test cases, CMYK image is not yet supported: The officialdjxl
decoder also missed the Black channel so I guess they aren't many we can do about that.Animated JXL has partial support: we display the first frame instead of the last frame for better performance. We should decide later if we want to support animations.
This PR can be reviewed by commits.