exif-manager
v0.0.3
Published
Wrapper around exiftool
Downloads
3
Readme
exif-manager
A NodeJs wrapper around https://exiftool.org/ - Read, Write and Edit Meta Information!
OS dependency
Compatible only with Unix, other OS are not supported
Install
npm install exif-manager
There full exiftool source code as a part of module, so no needed additional installation.
Usage
const ExifTool = require('exif-manager');
/**
* @method .set()
* @param {string} path Absolute path to file
* @param {object} data Data object to modify
* @param {array} [flags] Flags parameters
*/
const setExample = await ExifTool.set('/dir/image.png', { artist: "Ryan R." });
const ExifTool = require("exif-manager");
/**
* @method .get()
* @param {string} path Absolute path to file
* @param {array} [flags] Flags parameters
*/
const getExample = await ExifTool.get("/dir/image.png", ["-h"]);