Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mime type detection for .bmp images incorrect #11

Open
ofthelit opened this issue Dec 14, 2015 · 1 comment
Open

Mime type detection for .bmp images incorrect #11

ofthelit opened this issue Dec 14, 2015 · 1 comment

Comments

@ofthelit
Copy link

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
@badmotorfinger
Copy link
Contributor

How about a pull request? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants