Re: BrowserSnapshot_v001

2018-12-18 Thread Lagi Pittas via use-livecode
Hermann,

I have no use for this presently but I KINOW I will learn a lot just by
looking at your code.
Thanks for all your brilliant stuff - oh and if I don't thank you for
future stuff (life gets in the way of living) take that as a thank you as
well
- I'll be the first to tell you when your stuff is rubbish - time or no
time ;-)

Lagi

On Mon, 17 Dec 2018 at 23:59, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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
>
___
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


Re: BrowserSnapshot_v001

2018-12-17 Thread Tom Glod via use-livecode
HHyou are a rockstar.  I literally had this functionality on my to
do list for a GPL project (going up on github soon).  I am assuming that is
the license of your code?

Thank you for saving me the time of doing that x 10



On Mon, Dec 17, 2018 at 6:59 PM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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
>
___
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


BrowserSnapshot_v001

2018-12-17 Thread hh via use-livecode
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