magic4lazarus
Retrieve the mime of content from a file or a buffer
- Quiet · last change 4-9-2015
- ★ 1 on GitHub
README
magic4lazarus
Retrieve the mime of content from a file or a buffer
Using the same library of file command from Linux (or the version from Windows) we can detect the real mime of content from a file or a buffer.
MacOSX
How to install on MacOSX?
After moving magic.mgc into this directory in the application bundle (filemimetest.app/Contents/MacOS) the example worked. fpc 2.4.0, lazarus 0.9.28.2
I don't expect it matters, but libmagic was installed as file (5.03) using fink.
Thank you to Karl Michel Schindler karl-michael.schindler@web.de
Downloads
Links
- Lazarus
- File
- File (Source) - ftp://ftp.astron.com/pub/file/
- File for Windows

