Setting Pixels - Clarification

Dar Scott dsc at swcp.com
Wed Jan 29 00:35:01 EST 2003


On Tuesday, January 28, 2003, at 07:24 PM, Robert J Warren 
((Howsoft.com)) wrote:

> From the examples, this seems to mean in practice that if I want to 
> change a
> single pixel in an image I need to read the whole image bitmap into a
> variable, change the pixel in the variable, and then copy the whole 
> variable
> contents back into the image.
>
> Surely not! This is an incredibly slow process.

How long does it take to copy an image?

Maybe you can cut that in half by doing the "read the whole image 
bitmap" only once.

Dar Scott




More information about the use-livecode mailing list