Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

magic4lazarus

Retrieve the mime of content from a file or a buffer

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

magic4lazarus 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