h2non / filetype

Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature

Home Page:https://pkg.go.dev/github.com/h2non/filetype?tab=doc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNG image format support?

dwebfan opened this issue · comments

Seems like it is supported in file command already

$ file /tmp/sample1.dng
/tmp/sample1.dng: TIFF image data, little-endian, direntries=54, height=171, bps=662, compression=none, PhotometricIntepretation=RGB, manufacturer=Canon, model=Canon EOS 350D DIGITAL, orientation=upper-left, width=256

Sample file can be found at https://filesamples.com/formats/dng