node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


Extract EXIF data using exif from libexif


Extract EXIF data using exif from libexif.

This module expects that exif from libexif is present on your system.

var extractif = require('extractif');
extractif('test//img/hasselblad.jpg', function (err, tags) {
var extractif = require('extractif');

Extract EXIF data from a file. The callback gets two arguments (err, tags) where tags is a plain object of EXIF tags. If the file has no EXIF data tags will be null.

Install the NPM module:

npm install extractif

Install exif with your platform's native package manager:

apt-get install exif
yum install exif
emerge exif
brew install exif