summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in8
-rw-r--r--tests/mime-detection/test-with-container.jxlbin0 -> 128 bytes
-rw-r--r--tests/mime-detection/test-without-container.jxlbin0 -> 218 bytes
3 files changed, 8 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 93bef378..27a98c28 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4788,6 +4788,14 @@ command to generate the output files.
<glob pattern="*.mj2"/>
<glob pattern="*.mjp2"/>
</mime-type>
+ <mime-type type="image/jxl">
+ <comment>JPEG XL image</comment>
+ <magic>
+ <match type="string" offset="0" value="\xFF\x0A"/>
+ <match type="string" offset="0" value="\0\0\0\x0CJXL \x0D\x0A\x87\x0A"/>
+ </magic>
+ <glob pattern="*.jxl"/>
+ </mime-type>
<mime-type type="image/openraster">
<comment>OpenRaster image</comment>
<sub-class-of type="application/zip"/>
diff --git a/tests/mime-detection/test-with-container.jxl b/tests/mime-detection/test-with-container.jxl
new file mode 100644
index 00000000..56a011b8
--- /dev/null
+++ b/tests/mime-detection/test-with-container.jxl
Binary files differ
diff --git a/tests/mime-detection/test-without-container.jxl b/tests/mime-detection/test-without-container.jxl
new file mode 100644
index 00000000..0fa25782
--- /dev/null
+++ b/tests/mime-detection/test-without-container.jxl
Binary files differ