Copy image from Cipboard and save in Byte[]
can anyone tell me how to paste screenshot from clipboard to byte[]. in web application
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sebastian JuanPosted Apr 27, 2016, 4:36 AM
http://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript
If you provide more details about what you want to do with the screenshot after copying it to the byte[], I can suggest more solutions for you.
For example, if you want to display the image from byte array, you need to convert it to base64 string before passing it to the viewer. There are some toolkits like JQuery and leadtools that supports loading images at the client side.