Copy Image to TargetImage

Rick Harrison harrison at all-auctions.com
Sun Dec 1 12:54:06 EST 2013


HI Klaus and Colin,

I got the alphaData working with the following:

 set the alphaData of image "TargetImage" of this card to the the alphaData of image "OriginalImage" of this card

Thanks,

Rick

P.S.  Klaus, If you could point to a working example of the “text of the image” that would be great.  Thanks!

On Dec 1, 2013, at 12:33 PM, Rick Harrison <harrison at all-auctions.com> wrote:

> Hi Klaus and Colon,  (Stupid Auto-Correction Spelling Failure!)
> 
> I tried:
> 
> set the text of image "TargetImage" of this card to the text of image "OriginalImage" of this card
> 
> That gave me an image object with the same color as the stack background. (Essentially looked blank!) :-(
> 
> I created my TargetImage to be the exact same size and used “set the imageData” which this
> time gave me my image but as Colon explained without the alpha channel which I need.
> 
> So, I’m almost there.
> 
> How do I copy the alpha channel?
> 
> Thanks,
> 
> RIck
> 





More information about the Use-livecode mailing list