As the browser window or a selected portion save as image?
Please advise the library to save the content of the browser window or a selected region as image.
Also interested in a library for drawing in the browser window as a canvas (e.g., as in presentations of the service pruffme).
in fact in any way. browsers consider it a security violation and simple pages is strictly not allowed. the ways in which the browsers are only available to plugins.
there are libraries that try to do it themselves - in fact play the browser for rendering. of course, it turns out badly, because to get out of the house more or less securely, you can just the coordinates and basic properties, and all transformations-filters-other bells and whistles to portray accurately there is no chance.
the real way to get a real screenshot is a thread of puppeteer on the server. your own server or any third party that provides such API.