Mercurial > code > home > repos > light9
annotate stubs/PIL/ImageShow.pyi @ 2302:a6b611f32cce
rewrite Effect.ts to operate on new effect graphs
author | drewp@bigasterisk.com |
---|---|
date | Tue, 30 May 2023 23:58:47 -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.ImageShow (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 typing import Any, Optional |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 def register(viewer: Any, order: int = ...) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 def show(image: Any, title: Optional[Any] = ..., **options: 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 Viewer: |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 def show(self, image: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 format: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 def get_format(self, image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 def get_command(self, file: Any, **options: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 def save_image(self, image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 def show_image(self, image: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 def show_file(self, file: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 class WindowsViewer(Viewer): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 format: str = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 def get_command(self, file: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
22 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
23 class MacViewer(Viewer): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
24 format: str = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
25 def get_command(self, file: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
26 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
27 def which(executable: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
28 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
29 class UnixViewer(Viewer): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
30 def show_file(self, file: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
31 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
32 class DisplayViewer(UnixViewer): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
33 def get_command_ex(self, file: Any, **options: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
34 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
35 class XVViewer(UnixViewer): |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
36 def get_command_ex(self, file: Any, title: Optional[Any] = ..., **options: Any): ... |