delphibitmapmasking

Masking an image with another image


Does anyone have an example of how to do some masking with Delphi TImage so I can have one image put on another?

Using 2009


Solution

  • You can use the Copymode (cmSrcErase,cmSrcCopy,cmSrcAnd,cmSrcInvert) property of the Timage.Canvas, you can find a basic example in this link.

    picture of clouds + picture of balloon = picture of balloon in the sky