simplemagic
simplemagic copied to clipboard
Simple file magic number and content-type library which provides mime-type determination from files and byte arrays
Hi @j256 told me to put this issue here. I use this code to get the Mime Type of the **excel** file but it shows null in `mimeType` of `ContentInfo`....
Hi, there is a pcapng file, and simplemagic check it as xml. [file_pcapng.zip](https://github.com/j256/simplemagic/files/7008257/file_pcapng.zip)
Hi, Look like AWS S3 return as content type as jpeg. Same file but on AWS cloud front return as content type as html. Can you please take a look?
Hello, I tried to recognize several mime types, including XLS and CSV. Here are the results I have: csv - NULL doc - application/msword docx - application/vnd.openxmlformats-officedocument.wordprocessingml.document xls - NULL...
When I'm exporting images from GIMP as bitmap, this is not recognizing the magic number for those. When I run the file through xxd, I am getting: 00000000: 424d 7a75...
Workaround to fix issue #41 related to float point based numbers formatting
Hi, I love and use simplemagic, brings some of the power of linux to java. For my own projects I added the file types I needed (in magic.gz file): -...
Example: http://nokiatech.github.io/heif/content/images/autumn_1440x960.heic [autumn_1440x960.zip](https://github.com/j256/simplemagic/files/3390292/autumn_1440x960.zip) got from: http://nokiatech.github.io/heif/examples.html What I get: `info:ISO, type OTHER, msg 'ISO Media'`
Hi, I'm use this lib since some months and it's very useful but the problem I see it's the update of its magic db. I tried to use the files...