Replace image color

Yusuf_AYusuf_A ✭✭Member ✭✭
edited July 16 in General

Hi
I have a monochrome PNG image and I want to replace the color.
I filled the canvas with a color and I used the screen blendmode for coloring the shape,.

but the background color is also changed.

How can I just color the shape?
Thank you in advance.

the code

                canvas.DrawBitmap(backroundBitmap,0,0);     
                canvas.DrawBitmap(blackILogoBitmap, x, y);
                canvas.DrawColor(SKColors.Blue, SKBlendMode.Screen);

Best Answer

Answers

Sign In or Register to comment.