On Thursday, March 12, 2020 at 1:14:43 PM UTC-6, howar...@gmail.com wrote: > > If the <img> was off-screen or hidden, couldn't you still reference it to > get the data into the canvas like: > var img = document.getElementById('targetImg'); > ctx.drawImage(img, 10, 10); > > Might not be the most efficient way, but it seems like it should work. >
Yes, that definitely sounds like it's worth a shot. Thanks, — Scott -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/7bb51a2b-bbc8-4c7c-851a-6feaaa5be300%40googlegroups.com.