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 Answers
+ 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