snapshot and imageData...

Scott Rossi scott at tactilemedia.com
Wed May 31 12:32:52 EDT 2006


Recently, jbv wrote:

> when using
>   import snapshot from rect (the screenrect)
> 
> as well as
>   export snapshot from rect (the screenrect) to myVar as JPEG
>   put var into img 1
> 
> it seems that the imageData of the image object is blank...
> I tried with Rev 2,5 and MC 2.4.1

Testing here with MC 2.4.3 on OSX seems to work as expected.  The length of
the imageData is a number, as opposed to 0.  Are you getting imageData of 0
length?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list