summaryrefslogtreecommitdiffstats
path: root/Doc/library/imghdr.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/imghdr.rst')
-rw-r--r--Doc/library/imghdr.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/imghdr.rst b/Doc/library/imghdr.rst
index 9e89523..f11f6dc 100644
--- a/Doc/library/imghdr.rst
+++ b/Doc/library/imghdr.rst
@@ -48,6 +48,14 @@ from :func:`what`:
+------------+-----------------------------------+
| ``'png'`` | Portable Network Graphics |
+------------+-----------------------------------+
+| ``'webp'`` | WebP files |
++------------+-----------------------------------+
+| ``'exr'`` | OpenEXR Files |
++------------+-----------------------------------+
+
+.. versionadded:: 3.5
+ The *exr* and *webp* formats were added.
+
You can extend the list of file types :mod:`imghdr` can recognize by appending
to this variable: