Moving image contents

Ken Ray kray at sonsothunder.com
Tue Jul 8 15:44:18 EDT 2003


Klaus is right about the identical height/width when you are using "set
the imageData" (otherwise you'll get garbage), but you don't need it
with "put img 1 into img 2" - img 2 will automatically expand or
contract to deal with displaying the image. What platform are you trying
the "put img 1 into img 2" on?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: metacard-admin at lists.runrev.com 
> [mailto:metacard-admin at lists.runrev.com] On Behalf Of Klaus Major
> Sent: Tuesday, July 08, 2003 1:36 PM
> To: metacard at lists.runrev.com
> Subject: Re: Moving image contents
> 
> 
> Hi Jaqueline,
> 
> > Both of the following fail for me:
> >
> > put img 1 into img 2
> 
> works fine here OS X MC 2.5/RR 2.0.1.
> 
> > set the imagedata of img 2 to the imagedata of img 1
> 
> If i remember right, the trick is here to have 2 images with 
> identical height/width to make it work.
> 
> So you could try to set these props of img 2 BEFORE you set the 
> imagedata...
> 
> ...
> set the height of img 2 to the formattedheight of img 1
> set the width of img 2 to the formattedwidth of img 1
> set the imagedata of img 2 to the imagedata of img 1
> ...
> 
> Tested and works :-)
> 
> > Can anyone else get these to work?
> > I get either nothing in the first case, or visual garbage (and a
> > likely eventual crash) in the second.
> 
> See above...
> 
> Hope that helps...
> 
> > Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> > HyperActive Software           |     http://www.hyperactivesw.com
> 
> Regards
> 
> Klaus Major
> klaus at major-k.de
> www.major-k.de
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/metac> ard
> 





More information about the metacard mailing list