jpeg-exif
Get exif information from jpeg format file. Works with TIFF too!
Async
; const filePath = "~/Photo/IMG_0001.JPG"; exif;
Sync
; const filePath = "~/Photo/IMG_0001.JPG";const data = exif; console;
From Buffer
;; const filePath = "~/Documents/DOC_0001.TIFF";const buffer = fs;const data = exif; console;
Features
- Support All CP3451 Standard Tags (Include GPS & SubExif Tags)
- Support Sync, Async
- Support pass Buffer Type
Installation
$ npm i jpeg-exif
Callback Data Format
"Make": "Apple" "Model": "Apple" //... "SubExif": "DateTimeOriginal": "2015:10:06 17:19:36" "CreateDate": "2015:10:06 17:19:36" //... "GPSInfo": "GPSLatitudeRef": "N" "GPSLatitude": 35 39 4008 //...