exifremove
Dependency-free Node.js module that simply removes all EXIF metadata from a single image or a set of images.
Installation
npm install exifremove
or, if you would like to use the CLI:
npm install -g exifremove-cli
Usage
Module
Example of module usage:
const fs = ;const exifremove = ; const image1 = fs;const image2 = fs; // Remove just one image's Exiflet image = exifremove;console; // <Buffer ff d8 ...> // Remove multiple images' Exiflet images = exifremove;console;/*[ <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.