Skip to main content
Home

Remove EXIF information from PNG, JPEG and WebP images

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (0.2.2)

exif-rm

Remove EXIF information from PNG, JPEG and WebP 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.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mary/exif-rm

Import symbol

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

Import directly with a jsr specifier

import * as exif_rm from "jsr:@mary/exif-rm";

Add Package

pnpm i jsr:@mary/exif-rm
or (using pnpm 10.8 or older)
pnpm dlx jsr add @mary/exif-rm

Import symbol

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

Add Package

yarn add jsr:@mary/exif-rm
or (using Yarn 4.8 or older)
yarn dlx jsr add @mary/exif-rm

Import symbol

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

Add Package

npx jsr add @mary/exif-rm

Import symbol

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

Add Package

bunx jsr add @mary/exif-rm

Import symbol

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