How to convert an image from the clipboard to a byte stream and send it to code behind
I am pasting an image in my textarea if I have any image on the clipboard.
Now when i paste the image from the clipboard I also want to read the data of the image (i mean the byte[] that forms the image) to send it to the server.
I am using Blazor so I want this to be done via JavaScript.
Any snippets?