Skip to content

Sobesednik/node-exiftool.pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-exiftool.pl

A distribution of exiftool perl executable with lib. Current version is 10.53.

npm version Build Status

You might also be interested in dist-exiftool which will install an appropriate version of exiftool depending on the platform, and exiftool.exe for Windows.

Usage

The module exports a path to the exiftool Perl executable.

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

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

A distribution of exiftool perl executable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published