-
-
Notifications
You must be signed in to change notification settings - Fork 698
add libjxl ICC and scRGB support #2815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There's a branch here with the start of exif and xmp support, but libjxl have not released this yet, so we should wait. |
Here's a test JPG with an ICC profile: And the same image converted to float JXL like this:
http://www.rollthepotato.net/~john/nina-scrgb.jxl The output image is saved with these settings:
|
scRGB/RGBE vips file w/o ICC now has correct gamma when converted. I've also tried several roundtrip conversions for chromium test files from https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/web_tests/images/resources/jxl/ (jxl -> vips -> jxl):
|
I'm still not sure if this is correct, but it's certainly better than what we had before. I'm inclined to merge this so we can release libvips 8.13, and do another round of JXL improvements when the next version of libjxl is released. What do you think? |
Totally agree, I see no issues with this PR. |
OK, let's do it! Thank you for pushing for this and for doing the testing. |
see #2568