mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-11 11:11:17 +03:00
Move from deprecated getdata to get_flattened_data
This commit is contained in:
parent
0a1d6c3c61
commit
555fb8371c
|
|
@ -76,7 +76,7 @@ def testimage() -> None:
|
|||
('R', 'G', 'B')
|
||||
>>> im.getbbox()
|
||||
(0, 0, 128, 128)
|
||||
>>> len(im.getdata())
|
||||
>>> len(im.get_flattened_data())
|
||||
16384
|
||||
>>> im.getextrema()
|
||||
((0, 255), (0, 255), (0, 255))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user