5.3.0 (2018-10-01)
API changes
Image size
If you attempt to set the size of an image directly, e.g.
im.size = (100, 100), you will now receive an AttributeError. This is
not about removing existing functionality, but instead about raising an
explicit error to prevent later consequences. The resize method is the
correct way to change an image’s size.
The exceptions to this are: