comparison stubs/PIL/ImageFile.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
comparison
equal deleted inserted replaced
1946:a362b892cb43 1947:3b2255e3576d
1 # Stubs for PIL.ImageFile (Python 3)
2 #
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
4
5 from PIL import Image
6 from typing import Any, Optional
7
8 MAXBLOCK: int
9 SAFEBLOCK: Any
10 LOAD_TRUNCATED_IMAGES: bool
11 ERRORS: Any
12
13 def raise_ioerror(error: Any) -> None: ...
14
15 class ImageFile(Image.Image):
16 tile: Any = ...
17 readonly: int = ...
18 decoderconfig: Any = ...
19 decodermaxblock: Any = ...
20 fp: Any = ...
21 filename: Any = ...
22 def __init__(self, fp: Optional[Any] = ..., filename: Optional[Any] = ...) -> None: ...
23 def draft(self, mode: Any, size: Any) -> None: ...
24 def verify(self) -> None: ...
25 map: Any = ...
26 im: Any = ...
27 def load(self): ...
28 def load_prepare(self) -> None: ...
29 def load_end(self) -> None: ...
30
31 class StubImageFile(ImageFile):
32 __class__: Any = ...
33 __dict__: Any = ...
34 def load(self) -> None: ...
35
36 class Parser:
37 incremental: Any = ...
38 image: Any = ...
39 data: Any = ...
40 decoder: Any = ...
41 offset: int = ...
42 finished: int = ...
43 def reset(self) -> None: ...
44 decode: Any = ...
45 def feed(self, data: Any) -> None: ...
46 def close(self): ...