@@ -297,7 +297,7 @@ def __init__(
297297 intent : Intent = Intent .PERCEPTUAL ,
298298 proof : ImageCmsProfile | None = None ,
299299 proof_intent : Intent = Intent .ABSOLUTE_COLORIMETRIC ,
300- flags : Flags | int = Flags .NONE ,
300+ flags : Flags = Flags .NONE ,
301301 ):
302302 if proof is None :
303303 self .transform = core .buildTransform (
@@ -385,7 +385,7 @@ def profileToProfile(
385385 renderingIntent : Intent = Intent .PERCEPTUAL ,
386386 outputMode : str | None = None ,
387387 inPlace : bool = False ,
388- flags : Flags | int = Flags .NONE ,
388+ flags : Flags = Flags .NONE ,
389389) -> Image .Image | None :
390390 """
391391 (pyCMS) Applies an ICC transformation to a given image, mapping from
@@ -504,7 +504,7 @@ def buildTransform(
504504 inMode : str ,
505505 outMode : str ,
506506 renderingIntent : Intent = Intent .PERCEPTUAL ,
507- flags : Flags | int = Flags .NONE ,
507+ flags : Flags = Flags .NONE ,
508508) -> ImageCmsTransform :
509509 """
510510 (pyCMS) Builds an ICC transform mapping from the ``inputProfile`` to the
@@ -589,7 +589,7 @@ def buildProofTransform(
589589 outMode : str ,
590590 renderingIntent : Intent = Intent .PERCEPTUAL ,
591591 proofRenderingIntent : Intent = Intent .ABSOLUTE_COLORIMETRIC ,
592- flags : Flags | int = Flags .SOFTPROOFING ,
592+ flags : Flags = Flags .SOFTPROOFING ,
593593) -> ImageCmsTransform :
594594 """
595595 (pyCMS) Builds an ICC transform mapping from the ``inputProfile`` to the
0 commit comments