Files
@ d991f7c3485a
Branch filter:
Location: light9/stubs/PIL/ImageOps.pyi - annotation
d991f7c3485a
1.1 KiB
text/plain
WIP rough porting of coffee to ts
3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d | # Stubs for PIL.ImageOps (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
def autocontrast(image: Any, cutoff: int = ..., ignore: Optional[Any] = ...): ...
def colorize(image: Any, black: Any, white: Any): ...
def crop(image: Any, border: int = ...): ...
def scale(image: Any, factor: Any, resample: Any = ...): ...
def deform(image: Any, deformer: Any, resample: Any = ...): ...
def equalize(image: Any, mask: Optional[Any] = ...): ...
def expand(image: Any, border: int = ..., fill: int = ...): ...
def fit(image: Any, size: Any, method: Any = ..., bleed: float = ..., centering: Any = ...): ...
def flip(image: Any): ...
def grayscale(image: Any): ...
def invert(image: Any): ...
def mirror(image: Any): ...
def posterize(image: Any, bits: Any): ...
def solarize(image: Any, threshold: int = ...): ...
def gaussian_blur(im: Any, radius: Optional[Any] = ...): ...
gblur = gaussian_blur
def unsharp_mask(im: Any, radius: Optional[Any] = ..., percent: Optional[Any] = ..., threshold: Optional[Any] = ...): ...
usm = unsharp_mask
def box_blur(image: Any, radius: Any): ...
|