@jimp/plugin-normalize
TypeScript icon, indicating that this package has built-in type declarations

0.22.12 • Public • Published

@jimp/plugin-normalize

Normalize an image's colors.

Normalizes an images color by computing a histogram.

Usage

  • @param {function(Error, Jimp)} cb (optional) a callback for when complete
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.normalize();
}

main();

Readme

Keywords

none

Package Sidebar

Install

npm i @jimp/plugin-normalize

Weekly Downloads

1,097,746

Version

0.22.12

License

MIT

Unpacked Size

23.8 kB

Total Files

11

Last publish

Collaborators

  • alisowski
  • oliver.moran