diff stubs/PIL/ImageCms.pyi @ 1947:3b2255e3576d

big stubgen run for PIL, moviepy, rx Ignore-this: 349c755d8d70fdd1ff5711bde41f1dcb
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 05 Jun 2019 23:14:49 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/PIL/ImageCms.pyi	Wed Jun 05 23:14:49 2019 +0000
@@ -0,0 +1,55 @@
+# Stubs for PIL.ImageCms (Python 3)
+#
+# NOTE: This dynamically typed stub was automatically generated by stubgen.
+
+from PIL import Image
+from typing import Any, Optional
+
+DESCRIPTION: str
+VERSION: str
+core: Any
+INTENT_PERCEPTUAL: int
+INTENT_RELATIVE_COLORIMETRIC: int
+INTENT_SATURATION: int
+INTENT_ABSOLUTE_COLORIMETRIC: int
+DIRECTION_INPUT: int
+DIRECTION_OUTPUT: int
+DIRECTION_PROOF: int
+FLAGS: Any
+
+class ImageCmsProfile:
+    def __init__(self, profile: Any) -> None: ...
+    def tobytes(self): ...
+
+class ImageCmsTransform(Image.ImagePointHandler):
+    transform: Any = ...
+    input_mode: Any = ...
+    output_mode: Any = ...
+    output_profile: Any = ...
+    def __init__(self, input: Any, output: Any, input_mode: Any, output_mode: Any, intent: Any = ..., proof: Optional[Any] = ..., proof_intent: Any = ..., flags: int = ...) -> None: ...
+    def point(self, im: Any): ...
+    def apply(self, im: Any, imOut: Optional[Any] = ...): ...
+    def apply_in_place(self, im: Any): ...
+
+def get_display_profile(handle: Optional[Any] = ...): ...
+
+class PyCMSError(Exception): ...
+
+def profileToProfile(im: Any, inputProfile: Any, outputProfile: Any, renderingIntent: Any = ..., outputMode: Optional[Any] = ..., inPlace: int = ..., flags: int = ...): ...
+def getOpenProfile(profileFilename: Any): ...
+def buildTransform(inputProfile: Any, outputProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., flags: int = ...): ...
+def buildProofTransform(inputProfile: Any, outputProfile: Any, proofProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., proofRenderingIntent: Any = ..., flags: Any = ...): ...
+buildTransformFromOpenProfiles = buildTransform
+buildProofTransformFromOpenProfiles = buildProofTransform
+
+def applyTransform(im: Any, transform: Any, inPlace: int = ...): ...
+def createProfile(colorSpace: Any, colorTemp: int = ...): ...
+def getProfileName(profile: Any): ...
+def getProfileInfo(profile: Any): ...
+def getProfileCopyright(profile: Any): ...
+def getProfileManufacturer(profile: Any): ...
+def getProfileModel(profile: Any): ...
+def getProfileDescription(profile: Any): ...
+def getDefaultIntent(profile: Any): ...
+def isIntentSupported(profile: Any, intent: Any, direction: Any): ...
+def versions(): ...