Inserting a photo into a polygon?

Malte Pfaff-Brill revolution at derbrill.de
Tue Mar 16 04:33:33 EDT 2010


Late to the party, sorry. :-) 

If you design your stackcleverly, you can play with blending and to some sort fake it.

on a stack with a white background

create a graphic
set opaque to true
set the backcolor to black
import image
group graphic and image
move image on top of graphic
set the ink of image to srcOr

make sure other controls layer on top of the group, otherwise they will bleed through.

Obviously this will not work if the card background is colored or if there are other controls layered underneath that group, 
so this is either just an unpractical experiment or a design challenge. :-) Not very usable, but at least the image can be shifted inside the poly.

Cheers,

Malte


More information about the use-livecode mailing list