loading...

re: Why does the image not display on the canvas? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You could take the height and the width from the image if they are not provided. const drawImg = function (src = null, x = 0, y = 0, width, heigh...

Ok, thanks, as I said, the default is it uses the image size, and the image did not appear when I ommited the width or height variables from the function call.......
For reference, this is what the image looks like:
postimg.cc/3kcW6Lqc

code of conduct - report abuse