Directly manipulating CANVAS pixel data from Go side? #2755
Robert-M-Muench
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas
Would it be possible to access the pixel data of a CANVAS element directly from Go?
Getting the data, transferring it to Go, manipulating it, moving it back to JS, and updating the pixel data via JS sounds like a time-consuming round-trip. Something like 60FPS will not be possible with this.
Beta Was this translation helpful? Give feedback.
All reactions