Problem with imagedata

Dar Scott dsc at swcp.com
Thu Mar 18 22:18:48 EST 2004


On Thursday, March 18, 2004, at 09:05 AM, jbv wrote:

> get imagedata of img 1
> repeat with i=1 to 4
>     put char i of whitepix into char (i+131400) of it
> end repeat
> set imagedata of img 1 to it
>
> what did I do wrong ?

If your imageData was small you might change the length and that would 
corrupt the image.

Dar Scott



More information about the use-livecode mailing list