Imagedata row order
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Jul 21 16:57:25 EDT 2006
Hi Jacque,
Probably, the nice column is junk as well. Make sure that the image
has the correct size to make your pattern fit. If you repeat a
pattern of 8x8 pixels 4 times, your image must be either 8x32 or 32x8
pixels large. If you repeat the pattern 16 times without any returns
in the string, it should fit the 32x32 px image. How are you creating
the image data?
Best,
mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Download ErrorLib at http://economy-x-talk.com/developers.html and
get full control of error handling in Revolution.
Op 21-jul-2006, om 21:55 heeft J. Landman Gay het volgende geschreven:
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list