Merge pull request #3485 from radarhere/constants

Updated comments
This commit is contained in:
Hugo 2018-12-05 22:58:13 +02:00 committed by GitHub
commit 27c86baa56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ def isImageType(t):
#
# Constants (also defined in _imagingmodule.c!)
# Constants
NONE = 0
@ -181,14 +181,14 @@ ROTATE_270 = 4
TRANSPOSE = 5
TRANSVERSE = 6
# transforms
# transforms (also defined in Imaging.h)
AFFINE = 0
EXTENT = 1
PERSPECTIVE = 2
QUAD = 3
MESH = 4
# resampling filters
# resampling filters (also defined in Imaging.h)
NEAREST = NONE = 0
BOX = 4
BILINEAR = LINEAR = 2