Skip to content

Use getpixel() instead of load()#8727

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:getpixel
Feb 6, 2025
Merged

Use getpixel() instead of load()#8727
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:getpixel

Conversation

@radarhere
Copy link
Member

Updates some locations in the test suite where I think it is simpler (and clearer) to use

im.getpixel((x, y))

rather than

im.load()[x, y]

@hugovk hugovk merged commit a7524a3 into python-pillow:main Feb 6, 2025
50 of 51 checks passed
@radarhere radarhere deleted the getpixel branch February 6, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants