view stubs/PIL/ImageEnhance.pyi @ 2306:3b48a6e6a3c9

just skip a fader with no value (it's probably coming soon)
author drewp@bigasterisk.com
date Wed, 31 May 2023 02:16:22 -0700
parents 3b2255e3576d
children
line wrap: on
line source

# Stubs for PIL.ImageEnhance (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any

class _Enhance:
    def enhance(self, factor: Any): ...

class Color(_Enhance):
    image: Any = ...
    intermediate_mode: str = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Contrast(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Brightness(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...

class Sharpness(_Enhance):
    image: Any = ...
    degenerate: Any = ...
    def __init__(self, image: Any) -> None: ...