diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 8 | ||||
-rw-r--r-- | tests/mime-detection/list | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 390e03ae..183bc184 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -4775,6 +4775,14 @@ command to generate the output files. <comment>HEIF image</comment> <acronym>HEIF</acronym> <expanded-acronym>High Efficiency Image File</expanded-acronym> + <magic priority="40"><!-- less than AVIF due to ftypmif1 --> + <match type="string" value="ftypmif1" offset="4"/> + <match type="string" value="ftypmsf1" offset="4"/> + <match type="string" value="ftypheic" offset="4"/> + <match type="string" value="ftypheix" offset="4"/> + <match type="string" value="ftyphevc" offset="4"/> + <match type="string" value="ftyphevx" offset="4"/> + </magic> <glob pattern="*.heic"/> <glob pattern="*.heif"/> <alias type="image/heic"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index e3f9a84b..ba77bff4 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -19,8 +19,8 @@ GammaChart.exr image/x-exr test.fit image/fits x test.fli video/x-flic ox test.gif image/gif -example.heic image/heif ox -example.heif image/heif ox +example.heic image/heif +example.heif image/heif test.ico image/vnd.microsoft.icon # From https://bugs.freedesktop.org/show_bug.cgi?id=20070#c3 test.ilbm image/x-ilbm |