import Jimp from "jimp"; let image = await Jimp.read("./assets/Xbox_Controller_Blank.png"); image.scale(0.5); await image.writeAsync("test.png");