+ 2

How do you output a image in javascript?

what do you do?

21st Aug 2018, 11:29 PM
Potato Hacker
Potato Hacker - avatar
6 odpowiedzi
+ 1
If you mean within a browser, you have to create a <img> element, set the "src" attribute as image url and add it to your document
22nd Aug 2018, 12:32 AM
KrOW
KrOW - avatar
+ 4
Use canvas
22nd Aug 2018, 2:15 AM
Googel
Googel - avatar
22nd Aug 2018, 2:04 AM
Calviղ
Calviղ - avatar
+ 2
thanks KrOW!
22nd Aug 2018, 1:25 AM
Potato Hacker
Potato Hacker - avatar
+ 2
thanks Calvin
22nd Aug 2018, 2:42 AM
Potato Hacker
Potato Hacker - avatar
+ 1
thanks SP coder
22nd Aug 2018, 2:43 AM
Potato Hacker
Potato Hacker - avatar