ly.img.android.pesdk.utils / TransparentJpeg / combineColorWithMask

combineColorWithMask

open static fun combineColorWithMask(rgbBitmap: Bitmap!, maskBitmap: Bitmap!): Bitmap!

Load the RGB and ALPHA channel and combine them into one Bitmap.

Parameters

rgbBitmap - Bitmap!: RGB color informations ARGB_8888[COLOR + A=255]

maskBitmap - Bitmap!: BW mask alpha informations ARGB_8888[(R=G=B + A=255)]

Return
Bitmap!: the resulting bitmap in ARGB_8888