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

combineColorWithMask

fun combineColorWithMask(rgbBitmap: <ERROR CLASS>, maskBitmap: <ERROR CLASS>): <ERROR CLASS>

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

Parameters

rgbBitmap - RGB color informations ARGB_8888COLOR+A=255

maskBitmap - BW mask alpha informations ARGB_8888R=G=B+A=255

Return
the resulting bitmap in ARGB_8888