From 9d300d52cd8b9df82758ce622269cf2491148851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 13 May 2021 00:20:21 +0300 Subject: image/x-xpixmap: add XPM2 magic https://en.wikipedia.org/wiki/X_PixMap#XPM2 --- data/freedesktop.org.xml.in | 1 + tests/mime-detection/list | 2 ++ tests/mime-detection/test-xpm2.xpm | 11 +++++++++++ 3 files changed, 14 insertions(+) create mode 100644 tests/mime-detection/test-xpm2.xpm diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index a7f71da9..40064f20 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -5556,6 +5556,7 @@ command to generate the output files. X PixMap + diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 56333999..ee124de0 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -63,6 +63,8 @@ test.pat image/x-gimp-pat lucid-tab-bg.xcf image/x-xcf weather_sun.xcf image/x-xcf test.xpm image/x-xpixmap +# Copied from https://en.wikipedia.org/wiki/X_PixMap +test-xpm2.xpm image/x-xpixmap test.xwd image/x-xwindowdump ox # Copied from http://djvu.org/resources/ 2001_compression_overview.djvu image/vnd.djvu+multipage xoo diff --git a/tests/mime-detection/test-xpm2.xpm b/tests/mime-detection/test-xpm2.xpm new file mode 100644 index 00000000..f5183ebc --- /dev/null +++ b/tests/mime-detection/test-xpm2.xpm @@ -0,0 +1,11 @@ +! XPM2 +16 7 2 1 +* c #000000 +. c #ffffff +**..*........... +*.*.*........... +**..*..**.**..** +*.*.*.*.*.*..*.* +**..*..**.*...** +...............* +.............**. -- cgit v1.2.1