Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DaleCurtis
· 2y ago · 0 comments
What a fun excursion :) You can also use the ImageDecoder API:
https://developer.mozilla.org/en-US/docs/Web/API/ImageDecode...
and VideoFrame.copyTo:
https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/...
to skip canvas entirely.
Comments
[–]
purplesyringa
2y ago
It's unfortunately Chromium-only for now, and I wanted to keep code simple. I've got a PoC lying around with VideoFrame and whatnot, but I thought this would be better for a post.