[英]C# Render color in image as transparent
I'm displaying a .bmp file in a Form. 我在窗体中显示一个.bmp文件。
Is there any way to render the color black as transparent? 有什么方法可以使黑色变透明?
您可以尝试myBitmap.MakeTransparent(Color.Black)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.