exif-be-gone
v1.5.1
Published
Remove EXIF data from your image files.
Downloads
29,461
Readme
Exif be gone
Zero dependency stream transformer to remove data that could be potentially private.
For jpegs and tiffs, it currently looks for data in the app1 section that is either exif, xmp, or FLIR and removes it from the stream.
For png, it looks for tIME
, iTXt
, tEXt
, zTXt
, eXIf
and dSIG
chunks and removes those.
Installation
Use npm install exif-be-gone
to install this package.
Example usage
const ExifTransformer = require('exif-be-gone')
const fs = require("fs")
const reader = fs.createReadStream('Canon_40D.jpg')
const writer = fs.createWriteStream('out.jpg')
reader.pipe(new ExifTransformer()).pipe(writer)
There is also a command-line version that is installed that can be run via:
$ exif-be-gone [INPUT] [OUTPUT]