0

What happens to my image how can i take image on canvas ..??

I tried a lot but I couldn't get a desired solution pls help me... What is the problem in my code..?? https://code.sololearn.com/WtWWBWDdSFg6/?ref=app

11th Oct 2020, 3:11 PM
❤☆Nani☆❤
❤☆Nani☆❤ - avatar
4 odpowiedzi
+ 2
As I told you in your previous question, you can add argument to drawImage function in order to set resolution. https://www.sololearn.com/Discuss/2541360/?ref=app see line 34 and 35 https://code.sololearn.com/WU62n5D1lwh6/?ref=app
11th Oct 2020, 3:14 PM
Raj Chhatrala
Raj Chhatrala - avatar
0
RDC I saw but it doesn't show image drawImage(img,sx,sy,dx,dy) I know this..I am asking you why it's not displayed
11th Oct 2020, 3:29 PM
❤☆Nani☆❤
❤☆Nani☆❤ - avatar
0
Oh okay RDC
11th Oct 2020, 3:32 PM
❤☆Nani☆❤
❤☆Nani☆❤ - avatar
- 1
Yeah, it does. You have to wait for a moment and let it load. It depends on your internet connection + quality of image.
11th Oct 2020, 3:30 PM
Raj Chhatrala
Raj Chhatrala - avatar