bigger
parent
32942c5be2
commit
7aa17a6fed
Binary file not shown.
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 701 KiB |
3
index.ts
3
index.ts
|
@ -2,7 +2,6 @@ import Jimp from "jimp";
|
||||||
|
|
||||||
let image = await Jimp.read("./assets/Xbox_Controller_Blank.png");
|
let image = await Jimp.read("./assets/Xbox_Controller_Blank.png");
|
||||||
|
|
||||||
image.resize(250, 250);
|
image.scale(0.5);
|
||||||
|
|
||||||
await image.writeAsync("test.png");
|
await image.writeAsync("test.png");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue