Printing a revBrowser

Mark Waddingham mark at livecode.com
Wed Feb 10 10:25:12 EST 2016


On 2016-02-10 14:58, Terence Heaford wrote:
> Also just tried this example from the dictionary.
> 
> local tSnapshot
> revBrowserSnapshot sBrowserId, "tSnapshot"
> set the imageData of image "Browser Thumbnail" to tSnapshot

The dictionary example isn't very good there...

ImageData does not carry the size of the image - it is just xRGB bytes. 
You need to make sure you're image is the same size as the browser you 
are taking a snapshot of first.

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list