Skip to main content

Remove EXIF information from PNG and JPEG images

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
3 months ago (0.2.1)

exif-rm

Remove EXIF information from PNG and JPEG images.

const image = await Deno.readFile('./samples/sample.jpg');
const exifRemoved = remove(image);

For PNG specifically, also removes tIME iTXt tEXt zTXT and dSIG fields.

Add Package

deno add @mary/exif-rm

Import symbol

import * as mod from "@mary/exif-rm";

Add Package

npx jsr add @mary/exif-rm

Import symbol

import * as mod from "@mary/exif-rm";

Add Package

yarn dlx jsr add @mary/exif-rm

Import symbol

import * as mod from "@mary/exif-rm";

Add Package

pnpm dlx jsr add @mary/exif-rm

Import symbol

import * as mod from "@mary/exif-rm";

Add Package

bunx jsr add @mary/exif-rm

Import symbol

import * as mod from "@mary/exif-rm";