Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: