10.25.0 • Published 8 years ago

perl-exiftool v10.25.0

Weekly downloads
1
License
Artistic-2.0
Repository
github
Last release
8 years ago

perl-exiftool

A distribution of exiftool. Current version is 10.25.

npm version

Usage

The module exports a path to the exiftool executable (either exe on Windows or perl on all other platforms).

const exec = require('child_process').execFile;
const exiftool = require('perl-exiftool');

execFile(exiftool, ['-j', 'image.jpg'], (error, stdout, stderr) => {
	if (error) {
		console.error(`exec error: ${error}`);
		return;
	}
	console.log(`stdout: ${stdout}`);
	console.log(`stderr: ${stderr}`);
});

Links

exiftool

sourceforge

cpan

License

Artistic License 2.0