making a graphic the shape of a bitmap

Monte Goulding monte at sweattechnologies.com
Sat Jul 28 17:38:58 EDT 2012


You could parse the alphaData of the image and find the boundaries.

Cheers

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 29/07/2012, at 7:31 AM, Colin Holgate <coiin at verizon.net> wrote:

> How can you make a graphic be the exact shape of an irregular shaped image? For example, say you had an alpha transparent background image of a snake, and you wanted a graphic control that was the same shape as the outline of the snake, how could that be done?




More information about the use-livecode mailing list