Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

exif-be-gone

joshbuddy40.2kISC1.5.1TypeScript support: included

Remove EXIF data from your image files.

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]