Mercurial > code > home > repos > light9
annotate stubs/PIL/ImageOps.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.ImageOps (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 autocontrast(image: Any, cutoff: int = ..., ignore: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 def colorize(image: Any, black: Any, white: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 def crop(image: Any, border: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 def scale(image: Any, factor: Any, resample: Any = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 def deform(image: Any, deformer: Any, resample: Any = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 def equalize(image: Any, mask: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 def expand(image: Any, border: int = ..., fill: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 def fit(image: Any, size: Any, method: Any = ..., bleed: float = ..., centering: Any = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 def flip(image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 def grayscale(image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 def invert(image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 def mirror(image: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 def posterize(image: Any, bits: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 def solarize(image: Any, threshold: int = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 def gaussian_blur(im: Any, radius: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
22 gblur = gaussian_blur |
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 def unsharp_mask(im: Any, radius: Optional[Any] = ..., percent: Optional[Any] = ..., threshold: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
25 usm = unsharp_mask |
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 box_blur(image: Any, radius: Any): ... |