Moving image contents
Klaus Major
klaus at major-k.de
Tue Jul 8 14:44:01 EDT 2003
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
More information about the metacard
mailing list