diff options
author | Igor Murzov <e-mail@date.by> | 2013-03-31 02:54:27 +0400 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-02-07 16:56:48 +0100 |
commit | 7612a110f9a42db4730a8c6d1fff6d78c899d53d (patch) | |
tree | e6d49e0b1a03791eb785e509c82d9b16b5ab5db2 | |
parent | b067788e51cd5498944e85f707300fee9f2d1b32 (diff) |
Add image/x-webp mime-type
Magic information from:
https://developers.google.com/speed/webp/docs/riff_container#webp-file-header
https://bugs.freedesktop.org/show_bug.cgi?id=41155
-rw-r--r-- | freedesktop.org.xml.in | 10 | ||||
-rw-r--r-- | tests/list | 1 | ||||
-rw-r--r-- | tests/test.webp | bin | 0 -> 244 bytes |
3 files changed, 11 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index e5e83d1..7cc6bf5 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -4342,6 +4342,16 @@ command to generate the output files. <match type="string" value="\x45\x50\x2A\x00" offset="0"/> </magic> </mime-type> + <mime-type type="image/x-webp"> + <_comment>WebP image</_comment> + <magic priority="50"> + <match type="string" value="RIFF" offset="0"> + <match type="string" value="WEBP" offset="8"/> + </match> + </magic> + <alias type="image/webp"/> + <glob pattern="*.webp"/> + </mime-type> <mime-type type="image/x-3ds"> <_comment>3D Studio image</_comment> <glob pattern="*.3ds"/> @@ -47,6 +47,7 @@ test.tga image/x-tga # Uncompressed TGA test2.tga image/x-tga test.tif image/tiff +test.webp image/x-webp test.xbm image/x-xbitmap ox test.xcf image/x-xcf # https://bugs.freedesktop.org/show_bug.cgi?id=55263 diff --git a/tests/test.webp b/tests/test.webp Binary files differnew file mode 100644 index 0000000..83802b4 --- /dev/null +++ b/tests/test.webp |