Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 543 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 543 Bytes

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-dev

N.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.txt

Cool Thumnail: http://coolmagic.com/magician.jpg