Bug 41155: Webp (shared-mime-data) image format missing? - kp.stolk@gmail.com - 9/23/2011 Back to Bug | Your Reviews | Help
Attachment 93495: Add image/webp mime-type (v2) - Igor Murzov <intergalactic.anonymous@gmail.com> - 2/5/2014 (View )

Show Quick Help

From: Igor Murzov <e-mail@date.by>
Date: Sun, 31 Mar 2013 02:54:27 +0400
Subject: [PATCH] Add image/webp mime-type (v2)
v2: The section byte pattern (at offset 8) should only be "WEBP",
not "WEBPVP8", according to the latest version of the spec:
https://developers.google.com/speed/webp/docs/riff_container#webp-file-header
suggested by Gordon P. Hemsley
<Overall Comment>
Previous Reviews
Bastien Nocera <bugzilla@hadess.net>
2/7/2014
-----------------------------------------------------------------
freedesktop.org.xml.in
4331 <match type="string" value="\x45\x50\x2A\x00" offset="0"/>
4332 </magic>
4333 </mime-type>
4334 <mime-type type="image/webp">
Use image/x-webp as the mime-type, and add the "image/webp" mime-type as an alias.
We try to have the main mime-type be a registered mime-type, and as image/webp isn't registered, image/x-webp will have to do as the main mime-type.
tests/list
47# Uncompressed TGA
48test2.tga image/x-tga
49test.tif image/tiff
50test.webp image/webp
Ditto.
Powered by Splinter

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.