I like the call out to FreeDesktop but as the git package for that is called shared-mime-info another possibility is :-
File::Magic::SharedMimeInfoIn reply to Re: Looking for a name (Magic number MIME information on file from freedesktop.org database)
by RichardK
in thread Looking for a name (Magic number MIME information on file from freedesktop.org database)
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |