diff options
author | Daniel Novomesky <dnovomesky@gmail.com> | 2020-04-18 13:33:36 +0200 |
---|---|---|
committer | Daniel Novomesky <dnovomesky@gmail.com> | 2020-04-18 21:40:09 +0200 |
commit | d23e9fa537b84950cdb518f87e3bf1f3f2577523 (patch) | |
tree | cac4e6adc6746d86a8292a288808b667b4129310 | |
parent | 8d4224bed8674e4b17c5c336fbe630a7df636cb7 (diff) | |
download | shared-mime-info-d23e9fa537b84950cdb518f87e3bf1f3f2577523.tar.gz |
Add mimetypes for AV1 Image File Format (AVIF)
Add mimetypes for AV1 Image File Format (AVIF)
-rw-r--r-- | data/freedesktop.org.xml.in | 16 | ||||
-rw-r--r-- | tests/mime-detection/list | 5 | ||||
-rw-r--r-- | tests/mime-detection/test.avif | bin | 0 -> 1250 bytes | |||
-rw-r--r-- | tests/mime-detection/test.avifs | bin | 0 -> 10755 bytes |
4 files changed, 21 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index b10d1bf7..376d760c 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7375,4 +7375,20 @@ command to generate the output files. <sub-class-of type="text/plain"/> <glob pattern="*.kt"/> </mime-type> + + <mime-type type="image/avif"> + <comment>AV1 Image File Format (AVIF)</comment> + <magic priority="50"> + <match type="string" value="ftypavif" offset="4"/> + <match type="string" value="ftypmif1" offset="4"/> + </magic> + <glob pattern="*.avif"/> + </mime-type> + <mime-type type="image/avif-sequence"> + <comment>AVIF image sequence</comment> + <magic priority="50"> + <match type="string" value="ftypavis" offset="4"/> + </magic> + <glob pattern="*.avifs"/> + </mime-type> </mime-info> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 6dfd71d0..8751bc5c 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -743,3 +743,8 @@ test.pysu application/x-pyspread-spreadsheet # Kotlin source code test.kt text/x-kotlin ox + +# AV1 Image File Format (AVIF) +# https://aomediacodec.github.io/av1-avif/ +test.avif image/avif +test.avifs image/avif-sequence diff --git a/tests/mime-detection/test.avif b/tests/mime-detection/test.avif Binary files differnew file mode 100644 index 00000000..5cc9af76 --- /dev/null +++ b/tests/mime-detection/test.avif diff --git a/tests/mime-detection/test.avifs b/tests/mime-detection/test.avifs Binary files differnew file mode 100644 index 00000000..d88c9aee --- /dev/null +++ b/tests/mime-detection/test.avifs |