I am trying to use MakeTransparent(Color.Yellow) and draw a bitmap with a yellow background with a black arrow on with Graphics.DrawImage but it still renders the yellow.
How to get this to work?
I am trying to use MakeTransparent(Color.Yellow) and draw a bitmap with a yellow background with a black arrow on with Graphics.DrawImage but it still renders the yellow.
How to get this to work?
The color has to match exactly
I think you have similar to this issue, if color matched exactly.
Color needs to be 0x00YELLOW (alpha 00)
MakeTransparent not seeming to do anything - TinyCLR OS - GHI Electronics’ Forums
You can’t use the Color data type, you have to get the RGB values and make a new Color with those RGB values and an alpha of 0
Thanks you , this works perfectly