Answer the question
In order to leave comments, you need to log in
GWT how to take a screenshot of a part of the browser window?
I have a button that, when clicked, should take a screenshot of a part of the browser screen and then I save it on the server. How can this be implemented?
Answer the question
In order to leave comments, you need to log in
You need to use html2canvas, this thing renders html on a canvas. From canvas, you can make a picture and crop it in the same place.
I would try using html2image https://code.google.com/archive/p/java-html2image/
maven https://mvnrepository.com/artifact/gui.ava/html2image
You can search here
https://github for usage examples. com/search?q=%3CartifactId%3Ehtml2i...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question