FileSignatures
FileSignatures copied to clipboard
A small library for detecting the type of a file based on header signature (also known as magic number).
Unfortunately, to my current understanding, some file extensions such as jpeg/jpg or tiff/tif have various alternative extensions. I need to validate that the file extension matches the mime type, but...
Is it possible to support ignoring whitespace characters at the beginning of a stream?
I just came accross your library... if you want to have some more file signatues --> https://github.com/Sicos1977/MSGReader/blob/master/MsgReaderCore/Helpers/FileTypeSelector.cs Feel free to use them
Is there a way to identify an RTFD file? They are basically a package, but are used on Apple/Macs with TextEdit. I am currently not on a mac, but one...
Hi 🙂 There is a problem in the pdf format recognition: the code is looking for the 4 bytes header `%PDF` at the very beginning of a file, but in...