Working with Images

Matt Denton matt.denton at limelight.com.au
Tue Mar 12 23:08:01 CST 2002


Hello List,

After spending many hours working and testing images for my project, I 
wanted to share one of my findings (thanks to Geoff for his help too!).  
I'm trying to create a 'skins' file of images that are referenced by 
another stack.  These images are PNGs and must scale:

Setting an icon image can reference any open stack, however the image 
can not be scaled.  Neat and easy if resizing is not an issue;

Setting the imageData of an object at the moment only works if the image 
is on the same card.  Also both source and destination must be the same 
size or the data becomes scrambled;

And finally the simple solution (very obvious and tucked inside in the 
documentation):

put image "Original" of stack "Another Stack" into image "Working Copy"

This resizes the destination to the same size as source.

Not sure if this is of any help to anyone else, maybe!

Cheers,

Matt Denton




More information about the use-livecode mailing list