0

Help (description)

How do i set the size of the image that im pasting in the canvas? Example: <img id="png" src="example.png" width="32" height="32"> var png = document.getElementById("png"); ctx.imageSize(32,32) ctx.drawImage(png,0,0);

16th Oct 2022, 10:20 AM
Yeeter
Yeeter - avatar
1 Answer
16th Oct 2022, 10:29 AM
Lisa
Lisa - avatar