+ 1

Why image not dispalyed..??

I am create a canvas no width and height but it takes image width and height...I wrote this code..but why it's not worked well ...??and how can i change image,canvas width and height dynamically...?? https://code.sololearn.com/W64TNP7jPV90/?ref=app

11th Oct 2020, 12:28 PM
❤☆Nani☆❤
❤☆Nani☆❤ - avatar
1 Respuesta
+ 2
You can add width and height as argument to drawImage() function. https://code.sololearn.com/WU62n5D1lwh6/?ref=app
11th Oct 2020, 12:40 PM
Raj Chhatrala
Raj Chhatrala - avatar