🌆 Resizes the image.
new width
new height
await Canvas(200);let logo = await load('/q5js_logo.avif');logo.resize(128, 128);image(logo, -100, -100, 200, 200); Copy
await Canvas(200);let logo = await load('/q5js_logo.avif');logo.resize(128, 128);image(logo, -100, -100, 200, 200);
🌆 Resizes the image.