Mime-Detective icon indicating copy to clipboard operation
Mime-Detective copied to clipboard

Mime type detection for .bmp images incorrect

Open ofthelit opened this issue 9 years ago • 1 comments

new FileType(new byte?[] { 66, 77 }, "bmp", "image/gif");

must be changed to

new FileType(new byte?[] { 0x42, 0x4D }, "bmp", "image/bmp"); // or image/x-windows-bmp

ofthelit avatar Dec 14 '15 11:12 ofthelit

How about a pull request? :)

badmotorfinger avatar Dec 14 '15 11:12 badmotorfinger