Pillow 10.0.0 included some breaking changes to the organisation of constants in the PIL.ImageCms module. Values that were previously module-level constants are now enums, e.g. PIL.ImageCms.INTENT_RELATIVE_COLORIMETRIC is now PIL.ImageCms.Intent.RELATIVE_COLORIMETRIC. The result is that functionality associated with color is broken when using highdicom with Pillow>=10.0.0.
If you are having issues, please downgrade to pillow<=10.0.0
Pillow 10.0.0 included some breaking changes to the organisation of constants in the
PIL.ImageCms
module. Values that were previously module-level constants are now enums, e.g.PIL.ImageCms.INTENT_RELATIVE_COLORIMETRIC
is nowPIL.ImageCms.Intent.RELATIVE_COLORIMETRIC
. The result is that functionality associated with color is broken when using highdicom with Pillow>=10.0.0.If you are having issues, please downgrade to pillow<=10.0.0