Copy image from Cipboard and save in Byte[]
can anyone tell me how to paste screenshot from clipboard to byte[]. in web application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sebastian Juan4 reputationPosted Apr 27, 2016, 12:36 AM EDT
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.