mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
#20295: Teach imghdr to recognize OpenEXR format images.
Patch by Martin Vignali, test by Claudiu Popa.
This commit is contained in:
parent
a157867a3d
commit
2f60820f4c
6 changed files with 20 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ TEST_FILES = (
|
|||
('python.tiff', 'tiff'),
|
||||
('python.xbm', 'xbm'),
|
||||
('python.webp', 'webp'),
|
||||
('python.exr', 'exr'),
|
||||
)
|
||||
|
||||
class UnseekableIO(io.FileIO):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue