We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some of the image modes are missing from type hints like pa and others documented here
pa
PIL.Image.new("pa",(5,5),(255,255))
throes the error
Argument 1 to "new" has incompatible type "Literal['PA']"; expected "Literal['1', 'CMYK', 'F', 'HSV', 'I', 'L', 'LAB', 'P', 'RGB', 'RGBA', 'RGBX', 'YCbCr']"
The text was updated successfully, but these errors were encountered:
Thanks — PR welcome!
Sorry, something went wrong.
_Mode
Image.pyi
Pillow: Add missing image modes to _Mode type alias in Image.pyi …
62a8a69
…stub (issue #7956) (#7960)
Successfully merging a pull request may close this issue.
some of the image modes are missing from type hints like
pa
and others documented herethroes the error
The text was updated successfully, but these errors were encountered: