View Single Post
Old 17th December 2021, 10:08   #6  |  Link
Yomiko
Registered User
 
Join Date: Aug 2021
Posts: 73
Quote:
Originally Posted by lansing View Post
Test with a TIFF image scanned in 48 bit depth and with a "wide gamut RGB" ICC profile embedded, worked. Though the "gamut_warning" seems to not work? I have a sRGB monitor and some of the color on my image is definitely out of sRGB range, but with gamut_warning=True I did not see any indication on my image.

Code:
clip = core.imwri.Read(img, embed_icc=True)
clip = core.iccc.Convert(clip, gamut_warning=True)
clip.set_output()
When my mind was broken I implemented the proofing transform for Convert. The proofing transform takes a backward step, which is required by the gamut warning. Now with the straight transform the flag is ignored.

I may correctly implement the proofing function in the future.

Last edited by Yomiko; 17th December 2021 at 11:26.
Yomiko is offline   Reply With Quote