Move from deprecated getdata to get_flattened_data

This commit is contained in:
Andrew Murray 2026-01-03 08:16:37 +11:00
parent 0a1d6c3c61
commit 555fb8371c

View File

@ -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))