Added release notes for #3406 [ci skip]

This commit is contained in:
Andrew Murray 2018-11-05 21:11:25 +11:00
parent ee785c7582
commit 1ace2f47ff

View File

@ -1,6 +1,19 @@
5.4.0 (unreleased) 5.4.0 (unreleased)
----- -----
API Changes
===========
Negative indexes in pixel access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When accessing individual image pixels, negative indexes are now also accepted.
For example, to get or set the farthest pixel in the lower right of an image::
px = im.load()
print(px[-1, -1])
px[-1, -1] = (0, 0, 0)
Other Changes Other Changes
============= =============