Skip to content

Commit

Permalink
Image.NONE is only used for resampling and dithers
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 27, 2021
1 parent 11c536b commit 376a790
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/reference/Image.rst
Expand Up @@ -378,7 +378,6 @@ Classes
Constants
---------

.. data:: NONE
.. data:: MAX_IMAGE_PIXELS

Set to 89,478,485, approximately 0.25GB for a 24-bit (3 bpp) image.
Expand Down
2 changes: 0 additions & 2 deletions src/PIL/Image.py
Expand Up @@ -138,8 +138,6 @@ def isImageType(t):
#
# Constants

NONE = 0

# transpose
FLIP_LEFT_RIGHT = 0
FLIP_TOP_BOTTOM = 1
Expand Down

0 comments on commit 376a790

Please sign in to comment.