Replies: 1 comment
-
Hm, after further tests it looks like But if I call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I need to extract a series of raw pixel buffers from canvas and currently I have no idea how to do that properly.
toBuffer
method doesn't return raw pixel buffer andcontext.getImageData
takes a lot of time to return a pixel array (around 130-140ms on my machine).Is there an efficient way how to do that? Maybe in C style where I just pass pre-allocated Buffer to
skia-canvas
and it writes pixels back to me?Beta Was this translation helpful? Give feedback.
All reactions