$ npm install @jimp/plugin-normalize
Normalize an image's colors.
Normalizes an images color by computing a histogram.
import jimp from 'jimp';
async function main() {
const image = await jimp.read('test/image.png');
image.normalize();
}
main();
© 2010 - cnpmjs.org x YWFE | Home | YWFE