Move from deprecated getdata to get_flattened_data (#9373)

This commit is contained in:
Hugo van Kemenade 2026-01-04 15:36:32 +02:00 committed by GitHub
commit 3d7801417a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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