From 1b416268da2962ff47e46d3ae21885f2b742becf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 27 Nov 2009 07:56:41 +0000 Subject: [PATCH] * Added MIME type for PCX images based on humdinger's patch for ticket #5045. * Improved sniffer rule is not tested, but might work :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34301 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/data/beos_mime/image/x-pcx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/data/beos_mime/image/x-pcx diff --git a/src/data/beos_mime/image/x-pcx b/src/data/beos_mime/image/x-pcx new file mode 100644 index 0000000000..4c8b146f99 --- /dev/null +++ b/src/data/beos_mime/image/x-pcx @@ -0,0 +1,15 @@ +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "image/x-pcx"; + +resource(2, "META:SNIFF_RULE") "0.5 (\"\\012\\005\\001\") [3](0x01 | 0x04 | 0x08)"; + // version 5, encoding 1 is all our translator currently supports + +resource(3, "META:S:DESC") #'MSDC' "PCX Image"; + +resource(4, "META:L:DESC") #'MLDC' "PC Paintbrush Image"; + +resource(5, "META:EXTENS") message(234) { + "extensions" = "pcx", + "type" = "image/x-pcx" +};