summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in8
-rw-r--r--tests/mime-detection/list5
-rw-r--r--tests/mime-detection/rgb.qoibin0 -> 1228 bytes
-rw-r--r--tests/mime-detection/rgba.qoibin0 -> 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
new file mode 100644
index 0000000..dceb007
--- /dev/null
+++ b/tests/mime-detection/rgb.qoi
Binary files differ
diff --git a/tests/mime-detection/rgba.qoi b/tests/mime-detection/rgba.qoi
new file mode 100644
index 0000000..7fda6a1
--- /dev/null
+++ b/tests/mime-detection/rgba.qoi
Binary files differ