[Bf-committers] .blend magic number & MIME type

Jeff Harmon jharmon at colorhythm.com
Thu Mar 17 11:31:40 CET 2011

 we already leverage "file," "libmagic" and a bunch of existing 
 forensics databases.  i can certainly appreciate your point about 
 doublework!  life is not that long.  but with some formats (especially 
 open source ones, as there is that common ground there) i am reaching 
 out to the developers themselves to insure accuracy.

 - J

 On Thu, 17 Mar 2011 11:23:17 +0100, Emil Brink wrote:
> On Thu, Mar 17, 2011 at 11:11 AM, Jeff Harmon 
> <jharmon at colorhythm.com> wrote:
>>  i work on resourcespace, an open source digital asset management 
>>  application that already supports the previewing of Blender files.
>> we are working on supporting metadata and recognizing the file type. 
>>  http://resourcespace.org
>> we are contructing a "magic number" database that will assist in 
>>  automatically recognizing file types.
> [snip]
> I realize that constructing such a system is fun, but is there a
> reason you don't just use an existing solution?
> The classic approach would be the "file" tool, which comes with its
> own database. If you can't just rely on the file program itself,
> perhaps you could use its database (generally found as /etc/magic on
> systems supporting "file") and not have to re-invent that particular
> wheel?
> Regards,
> /Emil

More information about the Bf-committers mailing list