I have a 8bpp bitmap with a custom 256 color palette where certain (two) colors in a palette (pink, green) indicate transparency. I could use the MakeTransparent(color
MakeTransparent(color