mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
PIL: fix image convert palette type (#9331)
This commit is contained in:
committed by
GitHub
parent
1c940e8914
commit
540e0b0aa4
@@ -178,7 +178,7 @@ class Image:
|
||||
mode: _Mode | None = ...,
|
||||
matrix: _ConversionMatrix | None = ...,
|
||||
dither: int | None = ...,
|
||||
palette: Literal[Palette.WEB] = ...,
|
||||
palette: Palette | Literal[0, 1] = ...,
|
||||
colors: int = ...,
|
||||
) -> Image: ...
|
||||
def quantize(
|
||||
|
||||
Reference in New Issue
Block a user