Package Exports
- exifremove
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (exifremove) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
exifremove
Dependency-free Node.js module that simply removes all EXIF metadata from a single image or a set of images.
Installation
npm install exifremoveor, if you would like to use the CLI:
npm install -g exifremove-cliUsage
Module
Example of module usage:
const fs = require('fs');
const exifremove = require('exifremove');
const image1 = fs.readFileSync('image1.jpg');
const image2 = fs.readFileSync('image2.jpg');
// Remove just one image's Exif
let image = exifremove.remove(image1);
console.log(image); // <Buffer ff d8 ...>
// Remove multiple images' Exif
let images = exifremove.removeMultiple([image1, image2]);
console.log(images);
/*
[
<Buffer ff d8 ...>,
<Buffer ff d8 ...>
]
*/CLI
exifremove [image0] ... [imageN]
Options:
--version Show version number [boolean]
-v, --verbose Print extra messages [count]
--km, --keep-marker Keeps the APP1 marker in the JPEG [boolean]
-h, --help Show help [boolean]Check out the CLI module's Readme for more information.