-
Notifications
You must be signed in to change notification settings - Fork 42
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
icc support #131
Comments
My preference would be
With what is mentioned here https://www.libvips.org/API/current/Using-vipsthumbnail.md.html under "Colour Management" it should be possible to accomplish this, including stripping the colour profile and still get a correct sRGB image |
Is there anything I can do to get this working @dbouron ? |
Actually, this might be (partly) resolved if you add the remaining parameters to the thumbnail method |
Hi, |
@dbouron thanks! We've sinced forked https://github.com/cactuslab/JVips (and added a few fixes) though which provides all those features as well as a closer-to-libvips interfaces, so from my end this is a non issue now. Works with that code if I use the thumbnail method and afterwards just call
|
See e.g. https://cameratico.com/tools/web-browser-color-management-test/ for test content
Wasn't able to correctly resize a non sRGB image with an embedded color profile. Unfortunately I can't post that specific image here.
"linear" resizing is possible by manually changing the colourspace beforehand and after resizing, but I can't seem to get jvips to load the embedded profile and apply it correctly.
Also note https://github.com/libvips/libvips/wiki/HOWTO----Image-shrinking
as well as https://www.libvips.org/API/current/Using-vipsthumbnail.md.html (part "Colour Management")
The text was updated successfully, but these errors were encountered: