Nth Permutation Mathematics

    exify

    1.0.0 • Public • Published

    exify

    Convert generic image filenames to filenames with EXIF creation dates.

    build status dependency status dev dependency status

    Example

    var exify = require('exify')('%Y/%m/%d_%H-%M-%S');
     
    exify('test/img/hasselblad.jpg', function (err, exified) {
      if (err) return console.error(err);
      console.log(exified);
    });

    Mehods

    var exify = require('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

    Keywords

    none

    Install

    npm i exify

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • uggedal