Android Question how to use BC to overlay a pixel mask with one color channel?

sn_nn

Member
Licensed User
Longtime User
Hi!
How i can use BitmapCreator to overlay a pixel mask with one color channel?
For example: i have the BaseImage (Usual Picture). And i have the MaskImage (Image with black color RGB(0,0,0) and some regions with RedColor RGB(255,0,0). The Width And height of both images are similar. And i need replace in BaseImage all correspondent pixels of red channel by red-values from MaskImage, and dont change green and blue channels.... I wrote variant with usual code (without BC), but it works very slow. Any ideas?

Some similar solution with RSImage processor is here: https://www.b4x.com/android/forum/t...y-red-component-of-pixels.124079/#post-775128
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…