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
http://livecodeshare.runrev.com/stack/920/

Probably this pure LC Script version is doing better than creating a "snapshot"
from the DOM using a HTML5 canvas (HTMLtoIMAGE_v100)
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to