Design Challenge -- Round Corner mask on images

BNig bernd.niggemann at
Wed Mar 30 16:16:04 EDT 2016

Alejandro Tejada wrote
> Hi Bernd,
> Did you have a reliable recipe to export (or import)
> a snapshot of an image with a blend mode
> (or ink effect) applied?
> Try this:
> 1) Import two images:
> a) transparent black and white png (ubuntu logo)
> b) color jpg image (ubuntu glass logo)
> 2) Apply a blend mode (or ink effect) 
> like blendPlus or blendMultiply or 
> notSrcOr, etc, etc, etc. to these
> images.
> 3) Import or export a snapshot
> of these images and place the result
> in the same card. The result is exactly
> like original images, without the
> blend (or ink applied)
> How could we import an image
> that shows the ink effect?
> Thanks in advance!
> Alejandro

for inks you have to make a screenshot from the system-view

on mouseUp
   put the rect of image "sourceImg" into tSourceRect
   put item 1 to 2 of tSourceRect into tTopLeft
   put item 3 to 4 of tSourceRect into tBotRight
   put globalLoc(tTopLeft) into tTopLeft
   put globalLoc(tBotRight) into tBotRight
   export snapshot from rect (tTopLeft & "," & tBotRight) to image "myImg"
as png
end mouseUp
But I think transparency is lost. But you get the ink-mode

tried with notSrcCopy and blendExclusion. worked all right.

Kind regards

View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the Use-livecode mailing list