Using module 'Jimp'

Hello, I'm a Glitch user. How to I can add a image to my project with Jimp?

Hey @mggamer,
I’m not sure what you meant by that. But, if you mean how to create (modify) an image using Jimp, here’s an example:

const Jimp = require('jimp');
Jimp.read('mggamer.png', (err, img) => {
  if (err) throw err;
  img
    .resize(256, 256) // resize
    .quality(60) // JPEG quality
    .greyscale() // greyscale
    .write('mggamer-uh.jpg'); // save
});

Thanks you :slight_smile: