diff options
author | Daniel Novomeský <dnovomesky@gmail.com> | 2023-04-04 09:44:17 +0200 |
---|---|---|
committer | Daniel Novomeský <dnovomesky@gmail.com> | 2023-04-04 09:44:17 +0200 |
commit | ff51a0a9e36185288576ca32da9a8fa4bd2e6e90 (patch) | |
tree | c0157a60b1d65046d06658c8a6574a5b2b577f12 | |
parent | ae371295f69a0f9f7040a98737dfd00b182b5b70 (diff) |
Add mimetype for Quite OK Image Format (QOI)
-rw-r--r-- | data/freedesktop.org.xml.in | 8 | ||||
-rw-r--r-- | tests/mime-detection/list | 5 | ||||
-rw-r--r-- | tests/mime-detection/rgb.qoi | bin | 0 -> 1228 bytes | |||
-rw-r--r-- | tests/mime-detection/rgba.qoi | bin | 0 -> 1240 bytes |
4 files changed, 13 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index d59cc11..f8fb932 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7968,6 +7968,14 @@ command to generate the output files. <alias type="image/avif-sequence"/> </mime-type> + <mime-type type="image/qoi"> + <comment>Quite OK Image Format</comment> + <magic> + <match type="string" value="qoif" offset="0"/> + </magic> + <glob pattern="*.qoi"/> + </mime-type> + <mime-type type="video/vnd.radgamettools.bink"> <comment>Bink Video</comment> <magic> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index c27dbaa..6a7caa4 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -919,6 +919,11 @@ devicetree.dtb text/x-devicetree-binary test.avif image/avif test.avifs image/avif +# QOI - The "Quite OK Image Format" +# https://github.com/phoboslab/qoi +rgb.qoi image/qoi +rgba.qoi image/qoi + # Org-mode file test.org text/org ox # OpenZIM file diff --git a/tests/mime-detection/rgb.qoi b/tests/mime-detection/rgb.qoi Binary files differnew file mode 100644 index 0000000..dceb007 --- /dev/null +++ b/tests/mime-detection/rgb.qoi diff --git a/tests/mime-detection/rgba.qoi b/tests/mime-detection/rgba.qoi Binary files differnew file mode 100644 index 0000000..7fda6a1 --- /dev/null +++ b/tests/mime-detection/rgba.qoi |