Documented MAX_IMAGE_PIXELS

This commit is contained in:
Andrew Murray 2020-07-20 21:16:33 +10:00
parent b243a6113e
commit 9db4a84983
2 changed files with 4 additions and 1 deletions

View File

@ -118,7 +118,6 @@ nitpick_ignore = [
("py:attr", "PIL.Image.Image.tag"),
("py:attr", "PIL.Image.Image.tag_v2"),
("py:attr", "PIL.Image.Image.tile"),
("py:data", "PIL.Image.MAX_IMAGE_PIXELS"),
("py:attr", "PIL.TiffImagePlugin.ImageFileDirectory_v2.tagtype"),
]

View File

@ -374,6 +374,10 @@ Constants
---------
.. data:: NONE
.. data:: MAX_IMAGE_PIXELS
Set to 89,478,485, approximately 0.25gb for a 24 bit (3 bpp) image.
See :py:meth:`~PIL.Image.open` for more information about how this is used.
Transpose methods
^^^^^^^^^^^^^^^^^