An Image Metadata Reader and Remover that performs everything in your browser.
This is the mainline version with latest bugfix and features. All pull requests should go into this branch unless asked otherwise.
Main source: index.html
.
https://MikuAuahDark.github.io/rime/index.html
Example
import * as process from "node:process"
import * as fs from "node:fs"
import { loadMetadata } from "./rime-mod/main.mjs"
if (process.argv.length < 3) {
console.log("usage: %s %s <image>", process.argv[0], process.argv[1])
process.exit(1)
}
const imageFile = fs.readFileSync(process.argv[2])
const metadata = loadMetadata(new Uint8Array(imageFile))
console.log(metadata.getMetadata())
MIT.