Passing an image from javascript to c# via blazor

blazor c#

Question

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?

1
0
8/21/2018 8:21:57 PM

Accepted Answer

As of Blazor 0.5 there not more efficient ways to pass data.

0
9/12/2018 2:53:30 PM


Related Questions





Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow