python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.32k stars 2.23k forks source link

Use test image filename #8534

Closed radarhere closed 2 weeks ago

radarhere commented 2 weeks ago

https://pillow.readthedocs.io/en/latest/reference/ImageFile.html has an example where users are invited to open "hopper.pgm".

Maybe no one else is bothered by this, but hopper.pgm doesn't exist as one of our test files, so I think the example code should be updated to refer to hopper.ppm instead.

aclark4life commented 2 weeks ago

Yes, that would have bothered me had I noticed, thanks!