Welcome Guest (Log in)


LC 8+9 (46) | Browser widget (24) | Image (17) | JavaScript (4) | Screenshot (4)
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Hermann Hoch
  • StarStarStarStarStar
  • Stack
  • 2
  • 221 Times
  • 17 December 2018
### v1.0.0 Dec 17, 2018 ... first version on "Sample Stacks"

makes an image of the *whole* HTML content of a browser widget
(while waiting for printToPdf from the browser widget in 9.x).
The image may have a height of several thousands pixels.

The stack is based on the library from
https://html2canvas.hertzen.com (MIT licensed).

This javaScript library takes "screenshots" of webpages based on the DOM, and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.
Then it saves the data to a canvas. ["Overlayed" pages as livecode.com are only partially saved, just try.]

We don't display this HTML5-canvas in a browser but catch the imagedata from it and save it to an image.
You can set options:
the image format: JPEG with quality level or PNG,
an image scale (percentage)

The javaScript library is included in the stack (please watch the license).
Ajax Loader
Expander triangle
User Comments
Expander triangle