You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #1567 done, I'm interested in start testing this features. But I'm hitting a few difficulty. (I'm using 4.0.0-alpha.0.46)
I was not able to find a way to use the ColorProfileConverter most of the related code seems to be internal. Since I'm doing composition between multiple image that will be printed later, I'm curious if it would be possible to load the images, work with them in CIELAB, or CIEXYZ, and then choose the profile when saving (for example a CMYK profile), so there is minimum loss, instead of converting everything to sRGB, then converting it again for printing.
I also found that it should be possible to convert the profile to sRGB during decoding. But when I tried with the images from here: https://displaycal.net/icc-color-management-test/ the pixels were not converted (Should I open an issue for that, or did I miss something ?)
EDIT: It seems IsLikelySrgb is true for those tests profiles
EDIT2: It works if I add return false in IsLikelySrgb()
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
With #1567 done, I'm interested in start testing this features. But I'm hitting a few difficulty. (I'm using
4.0.0-alpha.0.46)I was not able to find a way to use the
ColorProfileConvertermost of the related code seems to be internal. Since I'm doing composition between multiple image that will be printed later, I'm curious if it would be possible to load the images, work with them in CIELAB, or CIEXYZ, and then choose the profile when saving (for example a CMYK profile), so there is minimum loss, instead of converting everything to sRGB, then converting it again for printing.I also found that it should be possible to convert the profile to sRGB during decoding. But when I tried with the images from here: https://displaycal.net/icc-color-management-test/ the pixels were not converted (Should I open an issue for that, or did I miss something ?)
EDIT: It seems
IsLikelySrgbis true for those tests profilesEDIT2: It works if I add
return falseinIsLikelySrgb()Beta Was this translation helpful? Give feedback.
All reactions