node-imager icon indicating copy to clipboard operation
node-imager copied to clipboard

try to infer file type with magic bytes

Open amitevski opened this issue 11 years ago • 0 comments

if the image has e.g. content-type application/octet-stream, the file is named ...NaN,NaN... Now if the content-type is not in supported content types, the file type is detected by magic numbers (http://en.wikipedia.org/wiki/List_of_file_signatures).

amitevski avatar Jul 11 '14 12:07 amitevski