dist-exiftool

Platform-dependent distribution of exiftool.

Artistic-2.0 4 个版本
安装
npm install dist-exiftool
yarn add dist-exiftool
pnpm add dist-exiftool
bun add dist-exiftool
README

dist-exiftool

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

npm version Build Status Build status

Usage

The module exports a path to the exiftool executable.

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

exiftool

sourceforge

cpan

License

Artistic License 2.0

版本列表
10.53.0 2017-05-17
10.33.1 2017-01-04
10.33.0 2016-11-20
10.25.0 2016-08-21