summaryrefslogtreecommitdiffstats
path: root/Doc/library/imghdr.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-06-26 16:27:57 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-06-26 16:27:57 (GMT)
commit2f60820f4c1bdfce75f30ddc53d97587a3256dcf (patch)
tree6b115cf76be50645d161ebde14913202bbd64403 /Doc/library/imghdr.rst
parenta157867a3d10e4ee802fa2fd910f2dda383fa823 (diff)
downloadcpython-2f60820f4c1bdfce75f30ddc53d97587a3256dcf.zip
cpython-2f60820f4c1bdfce75f30ddc53d97587a3256dcf.tar.gz
cpython-2f60820f4c1bdfce75f30ddc53d97587a3256dcf.tar.bz2
#20295: Teach imghdr to recognize OpenEXR format images.
Patch by Martin Vignali, test by Claudiu Popa.
Diffstat (limited to 'Doc/library/imghdr.rst')
-rw-r--r--Doc/library/imghdr.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/imghdr.rst b/Doc/library/imghdr.rst
index 06faa88..c60df24 100644
--- a/Doc/library/imghdr.rst
+++ b/Doc/library/imghdr.rst
@@ -50,6 +50,11 @@ from :func:`what`:
+------------+-----------------------------------+
| ``'webp'`` | WebP files |
+------------+-----------------------------------+
+| ``'exr'`` | OpenEXR Files |
++------------+-----------------------------------+
+
+.. versionadded:: 3.5
+ The *exr* format was added.
.. versionchanged:: 3.5
The *webp* type was added.