* 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
This commit is contained in:
Axel Dörfler 2009-11-27 07:56:41 +00:00
parent 65c97143c7
commit 1b416268da

View File

@ -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"
};