Alpha masking Effect

Overview

Alpha masking is a technique used to control the transparency or opacity of an image or a specific portion of an image. It involves using the alpha channel to determine the transparency level of each pixel in an image. To apply the alpha masking effect, follow the steps below:

  • Export Masking images with areas of white (the white part of the image represents full visibility) and transparent (the transparent part of the image represents no visibility) in the desired shapes.

    Mask images

    Mask images

  • Add masking image and image to be masked to the images folder and change the masking image format to A8 in flint.efp as shown below.

    A8 image format in EFP

    A8 image format in EFP

  • Drag and drop the widget into the design view and add the image to be masked.

  • Navigate to the ‘Effects’ tab in the properties and apply the alpha masking effect to the desired image layer and add the masking image.

    Alpha masking effect

    Alpha masking effect

The resultant appearance of the image with the alpha masking effect can be seen as below:

Image with Alpha masking effect

Image with Alpha masking effect

Download the sample projects for the alpha masking effect from the Downloads Section .

Note:

  • Only one Alpha masking effect can be applied to one image layer.

  • Images with 2.5D effects, such as frustum, scaling, and rotation, do not support alpha masking.

  • The image used as mask must not be RLE encoded and only in A8 format. RLE compression is not supported in Effects feature in RH850.

  • Currently , only the Alpha mask effect is applicable in the ‘All’ state ( Self UI and Internal states )and is specific to the image layer.