static fun combineColorWithMask(@NonNull rgbBitmap: Bitmap, @NonNull maskBitmap: Bitmap): Bitmap
Load the RGB and ALPHA channel and combine them into one Bitmap.
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