BrowserSnapshot_v015

hh hh at hyperhh.de
Tue Dec 18 16:42:01 EST 2018


BrowserSnapshot updated to v015:
• Removed a bug.
• Added also scrolling snapshots when the viewport is horizontally clipping.
• There is also an example for how to hide overlays (menu, chat, campaign) in
pages like livecode.com (test livecode.com after the page is fully loaded).

**This is now with all my tests better than using the javascript library.**

> 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.
> 
> This is a pure LC Script solution:
> The widget is scrolled appropriate portions of the whole HTML page down and right
> and a snapshot is made from these portions. Then the snapshots are merged into ONE
> image of format PNG.
> 
> Download BrowserSnapshot from "Sample Stacks" or
> http://livecodeshare.runrev.com/stack/920/




More information about the Use-livecode mailing list