exiftool.pl

A distribution of exiftool perl executable.

Artistic-2.0 6 个版本
安装
npm install exiftool.pl
yarn add exiftool.pl
pnpm add exiftool.pl
bun add exiftool.pl
README

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}`);
});

exiftool

sourceforge

cpan

License

Artistic License 2.0

版本列表
10.53.0 2017-05-17
10.51.0 2017-05-15
10.33.0 2016-11-20
10.25.2 2016-08-21
10.25.1 2016-08-21
10.25.0 2016-08-20