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

0.16.1 • 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 @hekerman/plugin-normalize

Weekly Downloads

1

Version

0.16.1

License

MIT

Unpacked Size

6.66 kB

Total Files

7

Last publish

Collaborators

  • aleksey28
  • aleksey_popov