mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-01 02:20:33 +03:00
Added release notes for #7355
This commit is contained in:
parent
96d683dafa
commit
21eec5ce75
|
@ -24,10 +24,16 @@ TODO
|
|||
API Changes
|
||||
===========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
Accept a list in getpixel()
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
TODO
|
||||
py:meth:`~PIL.Image.Image.getpixel` now accepts a list of coordinates, as well
|
||||
as a tuple. ::
|
||||
|
||||
from PIL import Image
|
||||
im = Image.new("RGB", (1, 1))
|
||||
im.getpixel((0, 0))
|
||||
im.getpixel([0, 0])
|
||||
|
||||
API Additions
|
||||
=============
|
||||
|
|
Loading…
Reference in New Issue
Block a user