[Archived] File type discovery via libmagic!
README
ofxLibMagic
File type discovery via libmagic (http://sourceforge.net/projects/libmagic/)!
You give it a binary file. It will return a MIME type and description.
For Linux (Ubuntu, Raspberry Pi, etc)
apt-get install libmagic-devN.B. For the moment, addons_config.mk is broken. So, to use, add
-lmagic to your PROJECT_LDFLAGS. This will be fixed soon.For Windows
https://github.com/sleuthkit/c_FileTypeSigModule/blob/master/README_BuildingLibMagicWin32.txtCool Thumnail: http://coolmagic.com/magician.jpg
ofxAddons