Mercurial > code > home > repos > light9
annotate stubs/PIL/ImageCms.pyi @ 2299:8c82f13a3298
rm or repair dead code (notes could come back)
author | drewp@bigasterisk.com |
---|---|
date | Tue, 30 May 2023 23:50:42 -0700 |
parents | 3b2255e3576d |
children |
rev | line source |
---|---|
1947
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 # Stubs for PIL.ImageCms (Python 3) |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 # |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen. |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 from PIL import Image |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 from typing import Any, Optional |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 DESCRIPTION: str |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 VERSION: str |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 core: Any |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 INTENT_PERCEPTUAL: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 INTENT_RELATIVE_COLORIMETRIC: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 INTENT_SATURATION: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 INTENT_ABSOLUTE_COLORIMETRIC: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 DIRECTION_INPUT: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 DIRECTION_OUTPUT: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 DIRECTION_PROOF: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 FLAGS: Any |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 class ImageCmsProfile: |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 def __init__(self, profile: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
22 def tobytes(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
23 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
24 class ImageCmsTransform(Image.ImagePointHandler): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
25 transform: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
26 input_mode: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
27 output_mode: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
28 output_profile: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
29 def __init__(self, input: Any, output: Any, input_mode: Any, output_mode: Any, intent: Any = ..., proof: Optional[Any] = ..., proof_intent: Any = ..., flags: int = ...) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
30 def point(self, im: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
31 def apply(self, im: Any, imOut: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
32 def apply_in_place(self, im: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
33 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
34 def get_display_profile(handle: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
35 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
36 class PyCMSError(Exception): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
37 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
38 def profileToProfile(im: Any, inputProfile: Any, outputProfile: Any, renderingIntent: Any = ..., outputMode: Optional[Any] = ..., inPlace: int = ..., flags: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
39 def getOpenProfile(profileFilename: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
40 def buildTransform(inputProfile: Any, outputProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., flags: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
41 def buildProofTransform(inputProfile: Any, outputProfile: Any, proofProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., proofRenderingIntent: Any = ..., flags: Any = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
42 buildTransformFromOpenProfiles = buildTransform |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
43 buildProofTransformFromOpenProfiles = buildProofTransform |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
44 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
45 def applyTransform(im: Any, transform: Any, inPlace: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
46 def createProfile(colorSpace: Any, colorTemp: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
47 def getProfileName(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
48 def getProfileInfo(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
49 def getProfileCopyright(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
50 def getProfileManufacturer(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
51 def getProfileModel(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
52 def getProfileDescription(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
53 def getDefaultIntent(profile: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
54 def isIntentSupported(profile: Any, intent: Any, direction: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
55 def versions(): ... |