hh at hyperhh.de
Mon Dec 17 18:59:29 EST 2018
BrowserSnapshot 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 get a height of several thousands pixels.
** It works currently only for (horizontally) responsive HTML pages, that is if
the widget doesn't need a horizontal scrollbar. **
This is a pure LC Script solution: The widget is scrolled down appropriate
portions of the whole HTML page and a snapshot is made. Then the snapshots
are merged into ONE image of format PNG.
Download BrowserSnapshot from "Sample Stacks" or
Probably this pure LC Script version is doing better than creating a "snapshot"
from the DOM using a HTML5 canvas (HTMLtoIMAGE_v100)
More information about the Use-livecode