Title: image/webp support in mimetypes
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: DahlitzFlorian, leecatball, xtreak
Priority: normal Keywords:

Created on 2019-11-23 22:33 by leecatball, last changed 2019-12-27 07:20 by leecatball.

Messages (4)
msg357386 - (view) Author: Lee Ball (leecatball) Date: 2019-11-23 22:33
WebP is currently missing from the list of supported mimetypes.

It's an open source image format, using VP8 or VP8L for image data and RIFF for containers.

Previously, adding webp support was considered in 2011, but wasn't well supported at the time: ( ). In 2019, WebP now enjoys support in major browsers and OSes. Its sister video format WebM was added to mimetypes in 2016 ( ) and has similar support to WebP.

WebP homepage:
WebP source:
RIFF container spec:
VP8 format spec:
msg358862 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-12-25 13:14
Similar to previous discussions having an IANA registration would improve the acceptance of the patch to add it. It's still not listed at
msg358902 - (view) Author: Lee Ball (leecatball) Date: 2019-12-27 07:19
Okay, I've opened a bug with WebP team regarding IANA registration:

For what its worth, WebM was added without an IANA registration as a de facto standard. Approval was given in this 2014 comment:

To help support the recognition of WebP as a de facto standard, the image format is currently seeing about the same amount of usage on the web as BMP images, and has seen sharp growth this year, approximately tripling in usage. Data from W3:

Please let me know if there's any data I can provide, or anyone specific I should contact regarding approval.
msg358903 - (view) Author: Lee Ball (leecatball) Date: 2019-12-27 07:20
Sorry, amendment to my last comment: the WebM approval without IANA registration was in msg232095 of
Date User Action Args
2019-12-27 07:20:47leecatballsetmessages: + msg358903
2019-12-27 07:19:29leecatballsetmessages: + msg358902
2019-12-25 13:14:57xtreaksetnosy: + xtreak
messages: + msg358862
2019-11-29 21:21:27DahlitzFloriansetnosy: + DahlitzFlorian
2019-11-23 22:33:02leecatballcreate