diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 1 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test-xpm2.xpm | 11 |
3 files changed, 14 insertions, 0 deletions
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. <expanded-acronym>X PixMap</expanded-acronym> <magic priority="50"> <match type="string" value="/* XPM" offset="0"/> + <match type="string" value="! XPM2\n" offset="0"/> </magic> <glob pattern="*.xpm"/> <alias type="image/x-xpm"/> 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 +**..*........... +*.*.*........... +**..*..**.**..** +*.*.*.*.*.*..*.* +**..*..**.*...** +...............* +.............**. |