[haiku-development] Re: Adding a mime-type for WonderBrush files?

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2012 21:46:42 +0000

On 7/31/12, Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> On Mon, Jul 30, 2012 at 3:29 PM, Matt Madia <mattmadia@xxxxxxxxx> wrote:
>>
>> Taking into consideration that WonderBrush isn't part of Haiku's
>> repository, would it still be OK to add a mime-type for it?
>
> Doesn't Wonderbrush add the mime types and sniffer rules for its own
> files when it is first run? Though I suppose your point here is to
> identify Wonderbrush files even if it isn't installed?

For some reason, I don't think it adds a sniffer rule. That's mainly
what I'm interested in, as it'll allow users to simply double-click to
open wonderbrush files.

>> resource(4, "META:S:DESC") #'MSDC' "HVIF document";
 "WonderBrush Image"

>> resource(5, "META:L:DESC") #'MLDC' "Haiku vector icon";
"Image format containing layers and objects in flattened BMessage,
WonderBrush native image."

> These sounds like HVIF files, not Wonderbrush files :)

Darn copy/paste errors.

--mmadia

Other related posts: