For Programmers: Free Programming Magazines  


Home > Archive > Open Source Software > September 2005 > file-type recognition









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author file-type recognition
Peter

2005-09-13, 7:01 pm

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.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com