Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ibarrajo
4 months ago
|
parent
|
context
|
favorite
| on:
Gallery of wonderful drawings our little thermal p...
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...
a_t48
4 months ago
[–]
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:
Canvas is 348x348.
https://gist.github.com/ibarrajo/d5dc106cf226a0f2286e7e959ce...