Hacker News new | ask | show | jobs
by ibarrajo 221 days ago
I just had to try, got a bitmap and set it directly on the canvas using js, I wonder if it will print.

Canvas is 348x348.

https://gist.github.com/ibarrajo/d5dc106cf226a0f2286e7e959ce...

1 comments

I did the same thing, though with `img.src = https://my_image/whatever.jpg; img.setAttribute("crossorigin", "anonymous");`