Don't use the display's color profile for sRGB normalization (#1549)
This commit is contained in:
parent
686dee1b84
commit
0ada47821f
|
@ -13,14 +13,7 @@ from hydrus.core import HydrusGlobals as HG
|
|||
from hydrus.core.files.images import HydrusImageColours
|
||||
from hydrus.core.files.images import HydrusImageMetadata
|
||||
|
||||
try:
|
||||
|
||||
PIL_SRGB_PROFILE = PILImageCms.get_display_profile()
|
||||
|
||||
except:
|
||||
|
||||
PIL_SRGB_PROFILE = PILImageCms.createProfile( 'sRGB' )
|
||||
|
||||
PIL_SRGB_PROFILE = PILImageCms.createProfile( 'sRGB' )
|
||||
|
||||
DO_ICC_PROFILE_NORMALISATION = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue