$ npm install @jimp/plugin-blur
Blur an image.
A fast blur algorithm that produces similar effect to a Gaussian blur - but MUCH quicker
import jimp from 'jimp';
async function main() {
const image = await jimp.read('test/image.png');
image.blur(5);
}
main();
© 2010 - cnpmjs.org x YWFE | Home | YWFE