mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Pillow: ImageOps.autocontrast can set low and high cutoffs separately (#11408)
ImageOps.autocontrast can set low and high cutoffs separately
This commit is contained in:
@@ -12,7 +12,11 @@ class _Deformer(Protocol):
|
||||
def getmesh(self, __image: Image): ...
|
||||
|
||||
def autocontrast(
|
||||
image: Image, cutoff: int = 0, ignore: int | None = None, mask: Image | None = None, preserve_tone: bool = False
|
||||
image: Image,
|
||||
cutoff: int | tuple[int, int] = 0,
|
||||
ignore: int | None = None,
|
||||
mask: Image | None = None,
|
||||
preserve_tone: bool = False,
|
||||
) -> Image: ...
|
||||
def colorize(
|
||||
image: Image,
|
||||
|
||||
Reference in New Issue
Block a user