Hi all,

LibGFFD, the Generic File Format Detection library, is now ready for
testing.  It can be found in the lib/libgffd directory in CVS or in a
recent GGI snapshot.  I would appreciate some feedback, even just a
"it works OK for me" post.

Current status: the code is mostly complete, there is only a couple
minor things left to do, and the API shouldn't change much (maybe some
new options, but that's about all).  There is no documentation yet,
but I intend to fix that a.s.a.p.

What can be done with it ?  Firstly there is a utility program
"gffd.detect" which gets installed along with LibGFFD.  It uses
LibGFFD to determine the format of files and prints the result, not
unlike the "file" program, but of course much better :-).

Secondly, it could be used by that GPF (Generic Picture File) library
that was discussed a while back, like this: use LibGFFD to determine
the filetype, if the class name is not "image" then refuse to load it,
otherwise take the type name (e.g. "jpeg"), look it up in the
libgpf.conf file to determine what sub-lib to load, and ...

Cheers,
__
\/   Andrew Apted   <[EMAIL PROTECTED]>
 

Reply via email to