massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pillow / PIL / ImageCms.pyi
1 from typing import Any
2
3 from .Image import ImagePointHandler
4
5 DESCRIPTION: str
6 VERSION: str
7 core: Any
8 INTENT_PERCEPTUAL: int
9 INTENT_RELATIVE_COLORIMETRIC: int
10 INTENT_SATURATION: int
11 INTENT_ABSOLUTE_COLORIMETRIC: int
12 DIRECTION_INPUT: int
13 DIRECTION_OUTPUT: int
14 DIRECTION_PROOF: int
15 FLAGS: Any
16
17 class ImageCmsProfile:
18     def __init__(self, profile) -> None: ...
19     def tobytes(self): ...
20
21 class 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
33 def get_display_profile(handle: Any | None = ...): ...
34
35 class PyCMSError(Exception): ...
36
37 def profileToProfile(
38     im, inputProfile, outputProfile, renderingIntent=..., outputMode: Any | None = ..., inPlace: bool = ..., flags: int = ...
39 ): ...
40 def getOpenProfile(profileFilename): ...
41 def buildTransform(inputProfile, outputProfile, inMode, outMode, renderingIntent=..., flags: int = ...): ...
42 def buildProofTransform(
43     inputProfile, outputProfile, proofProfile, inMode, outMode, renderingIntent=..., proofRenderingIntent=..., flags=...
44 ): ...
45
46 buildTransformFromOpenProfiles = buildTransform
47 buildProofTransformFromOpenProfiles = buildProofTransform
48
49 def applyTransform(im, transform, inPlace: bool = ...): ...
50 def createProfile(colorSpace, colorTemp: int = ...): ...
51 def getProfileName(profile): ...
52 def getProfileInfo(profile): ...
53 def getProfileCopyright(profile): ...
54 def getProfileManufacturer(profile): ...
55 def getProfileModel(profile): ...
56 def getProfileDescription(profile): ...
57 def getDefaultIntent(profile): ...
58 def isIntentSupported(profile, intent, direction): ...
59 def versions(): ...