file-type icon indicating copy to clipboard operation
file-type copied to clipboard

Detect NEF format, the result is image/tiff

Open wuxiashuangji opened this issue 1 year ago • 5 comments
trafficstars

NIKON D610, AF-S Nikkor 24-120mm f/4G ED VR

arraybuffer:

0x4D4D002A 00000008 001C00FE 00040000

wuxiashuangji avatar Jan 31 '24 02:01 wuxiashuangji

NIKON D850, AF-S Nikkor 105mm f/1.4E ED

arraybuffer:

0x49492A00 08000000 1C00FE00 04000100

wuxiashuangji avatar Jan 31 '24 02:01 wuxiashuangji

NIKON D3, AF-S Zoom-Nikkor 14-24mm f/2.8G ED

arraybuffer:

0x49492A00 08000000 B00FE000 4000100

wuxiashuangji avatar Jan 31 '24 02:01 wuxiashuangji

@mceachen Help me, please solve it

wuxiashuangji avatar Jan 31 '24 02:01 wuxiashuangji

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.

mceachen avatar Jan 31 '24 02:01 mceachen