summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2020-11-20 19:21:54 +0100
committerKai Uwe Broulik <kde@privat.broulik.de>2020-11-21 21:18:50 +0100
commit17b168cc9280c2d3d0636b12b4015216ac68d6b0 (patch)
treecdcf4a982ab1c7356c31ced1a79fbe975aa922e0
parente9f8c792da59dec4d85e661e3032dac8c2c8a14d (diff)
downloadshared-mime-info-17b168cc9280c2d3d0636b12b4015216ac68d6b0.tar.gz
Add image/astc
Adaptive Scalable Texture Compression files
-rw-r--r--data/freedesktop.org.xml.in9
-rw-r--r--tests/mime-detection/list2
-rw-r--r--tests/mime-detection/test.astcbin0 -> 416 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index b3943f71..6f289d8d 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -6770,6 +6770,15 @@ command to generate the output files.
</magic>
<glob pattern="*.ktx"/>
</mime-type>
+ <mime-type type="image/astc">
+ <comment>ASTC texture</comment>
+ <acronym>ASTC</acronym>
+ <expanded-acronym>Advanced Scalable Texture Compression</expanded-acronym>
+ <glob pattern="*.astc"/>
+ <magic priority="80">
+ <match type="little32" value="0x5CA1AB13" offset="0"/>
+ </magic>
+ </mime-type>
<mime-type type="video/vnd.vivo">
<comment>Vivo video</comment>
<alias type="video/vivo"/>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index cba5f342..dff36adf 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -117,6 +117,8 @@ terminal-app.svg image/svg+xml
network-symbolic.svg image/svg+xml
# Zeb model from http://www.geo-metricks.com/geo-shop/shop-htm/free-object-info.htm truncated to 1Ko
zeb.3ds image/x-3ds x
+# Generated using astcenc-sse2 -cl test.png test.astc 4x4 -thorough
+test.astc image/astc
# Documents
ooo-6.0.doc application/msword
diff --git a/tests/mime-detection/test.astc b/tests/mime-detection/test.astc
new file mode 100644
index 00000000..0c2d4f2c
--- /dev/null
+++ b/tests/mime-detection/test.astc
Binary files differ