Added MIME tpe for WonderBrush images
The MIME type that's created by WonderBrush contains an out-of-date sniffer rule. Archived BMessages used to start with '1BOF', now it's 'HMF1'. That's why newer WonderBrush images aren't identified as such. The new sniffer rule should detect both old and new files.
This commit is contained in:
parent
d780e243ad
commit
316ac9de9f
38
src/data/mime_db/image/x-wonderbrush
Normal file
38
src/data/mime_db/image/x-wonderbrush
Normal file
@ -0,0 +1,38 @@
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "image/x-wonderbrush";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") #'CSTR' array {
|
||||
"0.9 ('HMF1' | '1BOF') ([0:364]"layer") ([8:375]'HMF1' | [8:375]'1BOF')"
|
||||
};
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "WonderBrush image";
|
||||
|
||||
resource(4, "META:L:DESC") #'MLDC' "Image format containing layers and objects in flattened BMessage, WonderBrush native image";
|
||||
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x.vnd-YellowBites.WonderBrush";
|
||||
|
||||
resource(6, "META:EXTENS") message(234) {
|
||||
"extensions" = "wbi",
|
||||
"extensions" = "WonderBrush",
|
||||
"type" = "image/x-wonderbrush"
|
||||
};
|
||||
|
||||
resource(7, "META:ICON") #'VICN' array {
|
||||
$"6E6369660605010200060338D2F73CD163BF82B23B84A94B88504870C900FFCE"
|
||||
$"89BDFFEACEFFFFDAB3020106023E49240000000000003CAAAA4940004A30007C"
|
||||
$"E28A55FFFFCD970401920200060235A2F5BB95C53FF7DD3A033A432AA54A4CB2"
|
||||
$"007F004CF5D6058003FFF5B3080606AE0BB40BBF4D33C3AEB75CC172BDEFC606"
|
||||
$"C13EC804CA27BD82C117B920C51BBB40BF06B8073AB6BC0605AE02B57D3EB9B9"
|
||||
$"C3EFB7BB44BBB751BD75C936CA8DC1B0402F0A093B593D5BBFCDC93D455BC516"
|
||||
$"C5F060465B435D4544510A045A425E3F5A3D5740020ABB1EBB84BB1EBB84BB1E"
|
||||
$"BB84B887BD35B983BC31B77BBE48B807C04AB6C3C023B939C072BDB542BAB8C1"
|
||||
$"2FC013C00845BF73C0DEBFC5C2C7BF0DC455BEB4C4DFBF99C41FBE5BC52BBDDB"
|
||||
$"C3C6BE1BC690BD9B4ABBDDC672BC29C0FCBB91BD823BBF6639BB9D3DB9D2BE4E"
|
||||
$"BA61BE702EBE0102024841C3C6C017C215C030C323C12F45C0FC4CC1620202C6"
|
||||
$"5DBE74C6D2BE67C5EDBE81C653BF0DC5C4BEDAC6DDBF400A0A562454284F2853"
|
||||
$"2B5130562D5B30592B5D2858280A0A03020203000A0001011001178400040A02"
|
||||
$"0101000A0001001001178400040A010100000A0403040506000A000107123ECC"
|
||||
$"CC0000000000003ECCCCC466664830EF01178200040A050107023ECCCC000000"
|
||||
$"0000003ECCCCC466664830EF0A00010730172801178200040A050107201728"
|
||||
};
|
Loading…
Reference in New Issue
Block a user