|
| Hi,
I'm looking for an open source (library preferably) that is able to
recognise file-types based on their content.
I will feed raw data to the code/lib, no files.
I need it for Borland C++ Builder, so a port (if existing) would be great.
I found "file" on win32.gnu.org but that dll also loads zlib and pcre dlls
which is not what I want to do (I don't care for compressed content etc) and
I'm not smart/good enough to port the code so that I can build it myself
using BCB ;-)
I need all in one lib or dl.
Furthermore file has the annoying limitation that it's database doesn't
contain the extension, e.g. (.zip) to easily parse from the returned string
(if file-type recognised).
I know this is thin but if anybody has *the* answer for me ... I have been
looking for days now and I know it exists as I've seen applications use it.
|
|