1from typing import Any
2
3from .Image import ImagePointHandler
4
5DESCRIPTION: str
6VERSION: str
7core: Any
8INTENT_PERCEPTUAL: int
9INTENT_RELATIVE_COLORIMETRIC: int
10INTENT_SATURATION: int
11INTENT_ABSOLUTE_COLORIMETRIC: int
12DIRECTION_INPUT: int
13DIRECTION_OUTPUT: int
14DIRECTION_PROOF: int
15FLAGS: Any
16
17class ImageCmsProfile:
18    def __init__(self, profile) -> None: ...
19    def tobytes(self): ...
20
21class ImageCmsTransform(ImagePointHandler):
22    transform: Any
23    input_mode: Any
24    output_mode: Any
25    output_profile: Any
26    def __init__(
27        self, input, output, input_mode, output_mode, intent=..., proof: Any | None = ..., proof_intent=..., flags: int = ...
28    ) -> None: ...
29    def point(self, im): ...
30    def apply(self, im, imOut: Any | None = ...): ...
31    def apply_in_place(self, im): ...
32
33def get_display_profile(handle: Any | None = ...): ...
34
35class PyCMSError(Exception): ...
36
37def profileToProfile(
38    im, inputProfile, outputProfile, renderingIntent=..., outputMode: Any | None = ..., inPlace: bool = ..., flags: int = ...
39): ...
40def getOpenProfile(profileFilename): ...
41def buildTransform(inputProfile, outputProfile, inMode, outMode, renderingIntent=..., flags: int = ...): ...
42def buildProofTransform(
43    inputProfile, outputProfile, proofProfile, inMode, outMode, renderingIntent=..., proofRenderingIntent=..., flags=...
44): ...
45
46buildTransformFromOpenProfiles = buildTransform
47buildProofTransformFromOpenProfiles = buildProofTransform
48
49def applyTransform(im, transform, inPlace: bool = ...): ...
50def createProfile(colorSpace, colorTemp: int = ...): ...
51def getProfileName(profile): ...
52def getProfileInfo(profile): ...
53def getProfileCopyright(profile): ...
54def getProfileManufacturer(profile): ...
55def getProfileModel(profile): ...
56def getProfileDescription(profile): ...
57def getDefaultIntent(profile): ...
58def isIntentSupported(profile, intent, direction): ...
59def versions(): ...
60