|
|
11 mesi fa | |
|---|---|---|
| .. | ||
| es | 11 mesi fa | |
| src | 11 mesi fa | |
| test | 11 mesi fa | |
| CHANGELOG.md | 11 mesi fa | |
| LICENSE | 11 mesi fa | |
| README.md | 11 mesi fa | |
| index.d.ts | 11 mesi fa | |
| package.json | 11 mesi fa | |
Normalizes an images color by computing a histogram.
@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();