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 <co...@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? _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode