Deprecations and removals
This page lists Pillow features that are deprecated, or have been removed in past major releases, and gives the alternatives to use instead.
Deprecated features
Below are features which are considered deprecated. Where appropriate,
a DeprecationWarning is issued.
Image getdata()
getdata() has been deprecated.
can be used instead. This new method is
identical, except that it returns a tuple of pixel values, instead of an internal
Pillow data type.