Imagedata row order

J. Landman Gay jacque at hyperactivesw.com
Fri Jul 21 15:55:11 EDT 2006


I am trying to figure out how to set an image's imageData to a repeating 
pattern. I have a pattern that is 8 x 8 pixels. I want to repeat this 
pattern 16 times in order to fill a 32-pixel square image.

If I repeat the pattern 4 times, I get a nice column of four repeating 
patterns going down the left edge of the image. If I repeat it 16 times 
I get junk. In what order are the pixels laid down, and what determines 
where and when they wrap?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list