55143681 Posted September 26, 2021 Share Posted September 26, 2021 Dear: I have an unigui project. In the client side(the google browser),I have another chat tool, the chat tool can cut some screen area as a picture to the clipboard, and I want to upload the picture in the clipboard to the unigui server side, that is say:How to upload the browser-side clipboard picture to the server side? How to do that? thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 26, 2021 Share Posted September 26, 2021 1 hour ago, 55143681 said: the chat tool can cut some screen area as a picture to the clipboard Hello, If there is additional information, please provide... Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 26, 2021 Share Posted September 26, 2021 6 hours ago, 55143681 said: How to upload the browser-side clipboard picture to the server side Hello, If You googling for this: javascript read bitmap clipboard will find many examples. https://ourcodeworld.com/articles/read/491/how-to-retrieve-images-from-the-clipboard-with-javascript-in-the-browser this read clipboard data (with uniSession.addJS is simple) https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/read You will get clipboard content from browser and try to show it in uniImage or uniCanvas Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 27, 2021 Share Posted September 27, 2021 this can help Quote Link to comment Share on other sites More sharing options...
55143681 Posted September 28, 2021 Author Share Posted September 28, 2021 13 hours ago, irigsoft said: this can help Thank you very much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.