Embedding PNG images with transparency

Tereza Snyder tereza at califex.com
Mon May 22 09:10:20 EDT 2006


On May 22, 2006, at 7:44 AM, John Craig wrote:

> I recently embedded a PNG image with a transparent background into  
> a stack.  When creating a new image object and copying the image  
> data from the original image to the new object, the background  
> appears black.  I've also tried copying the alpha data from the  
> original.  Any help appreciated.


The imagedata and the alphadata are two components of the image. To  
transfer the whole, use

  put image xxx into image yyy

and there ya go!

t



More information about the use-livecode mailing list