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

Emil Brink emil at obsession.se
Thu Mar 17 11:23:17 CET 2011

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.

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



More information about the Bf-committers mailing list