annotate stubs/PIL/Image.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 88ca10c9e31a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1947
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 # Stubs for PIL.Image (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 import __builtin__
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 logger: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
9
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
10 class DecompressionBombWarning(RuntimeWarning): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
11
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
12 class _imaging_not_installed:
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
13 def __getattr__(self, id: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
14
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
15 MAX_IMAGE_PIXELS: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
16 builtins = __builtin__
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
17 USE_CFFI_ACCESS: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
18 HAS_CFFI: bool
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 def isImageType(t: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
21
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
22 NONE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
23 FLIP_LEFT_RIGHT: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
24 FLIP_TOP_BOTTOM: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
25 ROTATE_90: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
26 ROTATE_180: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
27 ROTATE_270: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
28 TRANSPOSE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
29 AFFINE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
30 EXTENT: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
31 PERSPECTIVE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
32 QUAD: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
33 MESH: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
34 NEAREST: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
35 BOX: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
36 BILINEAR: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
37 LINEAR: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
38 HAMMING: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
39 BICUBIC: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
40 CUBIC: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
41 LANCZOS: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
42 ANTIALIAS: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
43 ORDERED: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
44 RASTERIZE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
45 FLOYDSTEINBERG: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
46 WEB: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
47 ADAPTIVE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
48 MEDIANCUT: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
49 MAXCOVERAGE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
50 FASTOCTREE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
51 LIBIMAGEQUANT: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
52 NORMAL: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
53 SEQUENCE: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
54 CONTAINER: int
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
55 DEFAULT_STRATEGY: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
56 FILTERED: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
57 HUFFMAN_ONLY: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
58 RLE: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
59 FIXED: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
60 ID: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
61 OPEN: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
62 MIME: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
63 SAVE: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
64 SAVE_ALL: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
65 EXTENSION: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
66 MODES: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
67
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
68 def getmodebase(mode: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
69 def getmodetype(mode: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
70 def getmodebandnames(mode: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
71 def getmodebands(mode: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
72 def preinit() -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
73 def init(): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
74 def coerce_e(value: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
75
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
76 class _E:
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
77 data: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
78 def __init__(self, data: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
79 def __add__(self, other: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
80 def __mul__(self, other: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
81
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
82 class Image:
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
83 format: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
84 format_description: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
85 im: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
86 mode: str = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
87 size: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
88 palette: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
89 info: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
90 category: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
91 readonly: int = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
92 pyaccess: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
93 def __init__(self) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
94 @property
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
95 def width(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
96 @property
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
97 def height(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
98 def __enter__(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
99 def __exit__(self, *args: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
100 def close(self) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
101 def __eq__(self, other: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
102 def __ne__(self, other: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
103 @property
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
104 def __array_interface__(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
105 def tobytes(self, encoder_name: str = ..., *args: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
106 def tostring(self, *args: Any, **kw: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
107 def tobitmap(self, name: str = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
108 def frombytes(self, data: Any, decoder_name: str = ..., *args: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
109 def fromstring(self, *args: Any, **kw: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
110 def load(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
111 def verify(self) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
112 def convert(self, mode: Optional[Any] = ..., matrix: Optional[Any] = ..., dither: Optional[Any] = ..., palette: Any = ..., colors: int = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
113 def quantize(self, colors: int = ..., method: Optional[Any] = ..., kmeans: int = ..., palette: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
114 def copy(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
115 __copy__: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
116 def crop(self, box: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
117 def draft(self, mode: Any, size: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
118 def filter(self, filter: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
119 def getbands(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
120 def getbbox(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
121 def getcolors(self, maxcolors: int = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
122 def getdata(self, band: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
123 def getextrema(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
124 def getim(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
125 def getpalette(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
126 def getpixel(self, xy: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
127 def getprojection(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
128 def histogram(self, mask: Optional[Any] = ..., extrema: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
129 def offset(self, xoffset: Any, yoffset: Optional[Any] = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
130 def paste(self, im: Any, box: Optional[Any] = ..., mask: Optional[Any] = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
131 def point(self, lut: Any, mode: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
132 def putalpha(self, alpha: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
133 def putdata(self, data: Any, scale: float = ..., offset: float = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
134 def putpalette(self, data: Any, rawmode: str = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
135 def putpixel(self, xy: Any, value: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
136 def resize(self, size: Any, resample: Any = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
137 def rotate(self, angle: Any, resample: Any = ..., expand: int = ..., center: Optional[Any] = ..., translate: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
138 encoderinfo: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
139 encoderconfig: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
140 def save(self, fp: Any, format: Optional[Any] = ..., **params: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
141 def seek(self, frame: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
142 def show(self, title: Optional[Any] = ..., command: Optional[Any] = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
143 def split(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
144 def tell(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
145 def thumbnail(self, size: Any, resample: Any = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
146 def transform(self, size: Any, method: Any, data: Optional[Any] = ..., resample: Any = ..., fill: int = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
147 def transpose(self, method: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
148 def effect_spread(self, distance: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
149 def toqimage(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
150 def toqpixmap(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
151
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
152 class ImagePointHandler: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
153 class ImageTransformHandler: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
154
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
155 def new(mode: Any, size: Any, color: int = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
156 def frombytes(mode: Any, size: Any, data: Any, decoder_name: str = ..., *args: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
157 def fromstring(*args: Any, **kw: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
158 def frombuffer(mode: Any, size: Any, data: Any, decoder_name: str = ..., *args: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
159 def fromarray(obj: Any, mode: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
160 def fromqimage(im: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
161 def fromqpixmap(im: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
162 def open(fp: Any, mode: str = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
163 def alpha_composite(im1: Any, im2: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
164 def blend(im1: Any, im2: Any, alpha: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
165 def composite(image1: Any, image2: Any, mask: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
166 def eval(image: Any, *args: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
167 def merge(mode: Any, bands: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
168 def register_open(id: Any, factory: Any, accept: Optional[Any] = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
169 def register_mime(id: Any, mimetype: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
170 def register_save(id: Any, driver: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
171 def register_save_all(id: Any, driver: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
172 def register_extension(id: Any, extension: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
173 def effect_mandelbrot(size: Any, extent: Any, quality: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
174 def effect_noise(size: Any, sigma: Any): ...