Add two images (newbie)

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Chaumaret
Posts: 4
Joined: Mon Aug 10, 2009 2:14 pm

Add two images (newbie)

Post by Chaumaret » Mon Aug 10, 2009 2:19 pm

Hi,

I'm testing Runrev.

I want to put 2 images in one.
I try "put img 1 & img 2 into img 3" without success.

put img 1 into img 3 works.

Help me please on how to do that.

Thanks.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Mon Aug 10, 2009 2:30 pm

Hi Chaumaret,

if I understand you correctly then you want to "mix" or superimpose two images and display that as a new image in image 3.

To superimpose two images you can put image 1 and image 2 into the same location, effectively image 2 hiding image 1. Than select image 2 (the frontmost) and in the inspector look for the "blending" property. There you have many options to change either the blendlevel or the ink mode. You have to experiment a bit with this.

If you want a third image of the two blended images then you could look for import snapshot in the dictionary, that will give you a snapshot of the two images.

regards

Bernd

Chaumaret
Posts: 4
Joined: Mon Aug 10, 2009 2:14 pm

Post by Chaumaret » Mon Aug 10, 2009 2:47 pm

Thank you !

Post Reply