node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

libexif

libexif

libexif bindings for nodejs.

Installation

$ npm install libexif

Example

var exif = require('libexiff');
var fs = require('fs');
 
var buf = fs.readFileSync('some.png');
console.log(exif.parse(buf));
 
console.log(exif.parse('somg.png'));

API

exif.parse(buf)

Parse EXIF tags from image buf.

exif.parse(path)

Parse EXIF tags from image at path.

Benchmarks

 9,988 op/s » buffer
 8,885 op/s » file

License

MIT