#20295: Teach imghdr to recognize OpenEXR format images.

Patch by Martin Vignali, test by Claudiu Popa.
This commit is contained in:
R David Murray 2014-06-26 12:27:57 -04:00
parent a157867a3d
commit 2f60820f4c
6 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,7 @@ TEST_FILES = (
('python.tiff', 'tiff'),
('python.xbm', 'xbm'),
('python.webp', 'webp'),
('python.exr', 'exr'),
)
class UnseekableIO(io.FileIO):