So I have this huge Uint8ClampedArray
from context2d.getImageData(....)
. The only way I managed to pass it to c# is using base64 encoding and decoding in c# but this is very slow (more than 5 seconds on my notebook).
Anyone found a more efficient way?