exify
Convert generic image filenames to filenames with EXIF creation dates.
Example
var exify = '%Y/%m/%d_%H-%M-%S'; ;
Mehods
var exify = ;
var e = exify(pattern)
Return a function which generates filenames based on EXIF tags of source
images and the provided strftime(3)
compatible pattern
.
e(file, cb (err, exified) {})
Generate a new filename based on the given file
and previously provided
pattern
.
Installation
Install the exiv2
library and headers with your platform's native
package manager:
apt-get install libexiv2 libexiv2-dev
brew install pkg-config exiv2
pacman -S exiv2
Install the NPM module:
npm install exify
License
MIT