neojski / dist-exiftool

Platform-dependent distribution of exiftool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dist-exiftool

A distribution of exiftool. Depending on the platform, it will install either exiftool.pl or exiftool.exe module. Current version is 10.33.

npm version Build Status Build status

Usage

The module exports a path to the exiftool executable.

const exec = require('child_process').execFile;
const exiftool = require('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

About

Platform-dependent distribution of exiftool.

License:Artistic License 2.0


Languages

Language:JavaScript 100.0%