mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-11 03:01:29 +03:00
Move from deprecated getdata to get_flattened_data (#9373)
This commit is contained in:
commit
3d7801417a
|
|
@ -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