WebChaot Messages: 53 Registered: September 2006 Location: Austria, Vienna
Member
Hi all!
I tried to copy an image - but without success.
I have an Image Object - and want to copy (!) that image to another Object. With SetImage the image is not copied but assigned to the new object (which means it is not longer visible in old object).
I also played around with the ImageBuffer. This helped me to locate transparent parts of that image - but also no success by copying
Well, I am not quite sure I understand the question...
Image m = GetImage();
Image n = m;
works....
Of course, when ImageBuffer gets in the game, things are a little bit more complicated, because Image<->ImageBuffer assignments clear the source (to keep things fast).