mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 23:50:13 +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:
1 parent
238772ad7e
commit
3e021f3330
1 file changed
+5
-1
@@ -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