imagemagicked svg to png
I would like to find a bun compatible svg renderer at some point, but for now this will have to do.
This commit is contained in:
parent
e1156235d7
commit
32942c5be2
2 changed files with 1 additions and 1 deletions
BIN
assets/Xbox_Controller_Blank.png
Normal file
BIN
assets/Xbox_Controller_Blank.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 202 KiB |
2
index.ts
2
index.ts
|
@ -1,6 +1,6 @@
|
||||||
import Jimp from "jimp";
|
import Jimp from "jimp";
|
||||||
|
|
||||||
let image = await Jimp.read("./assets/Xbox_Controller_Blank.svg");
|
let image = await Jimp.read("./assets/Xbox_Controller_Blank.png");
|
||||||
|
|
||||||
image.resize(250, 250);
|
image.resize(250, 250);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue