-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Detect NEF format, the result is image/tiff #624
Comments
NIKON D850, AF-S Nikkor 105mm f/1.4E ED arraybuffer: 0x49492A00 08000000 1C00FE00 04000100 |
NIKON D3, AF-S Zoom-Nikkor 14-24mm f/2.8G ED arraybuffer: 0x49492A00 08000000 B00FE000 4000100 |
@mceachen Help me, please solve it |
I gave up using this library for mimetype detection of raw image file formats--there are so many variants that getting them all correct is close to impossible. I'm using exiftool-vendored now. |
If someone could give PR #670 a try, that would be great. npm install https://github.com/sindresorhus/file-type.git#improve-nef-detection To understand how Nikon identifies the Nikon Electronic Format (NEF), and to test the implementation, providing sample pictures are appreciated.
Please note that this signature is invalid, seems to have 1 byte to many. |
NIKON D610, AF-S Nikkor 24-120mm f/4G ED VR
arraybuffer:
0x4D4D002A 00000008 001C00FE 00040000
The text was updated successfully, but these errors were encountered: