ImageFormat.Png 保存后无透明效果? 加载了一张bmp32的图片 有alpha通道bmp.Save(@"c:\111.png", ImageFormat.Png);保存后无透明效果自带的没用?要自己提取pal跟data写代码生成png???? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我要透明的效果,一直用FireWork,PS没有怎么用,不熟悉,然后加载到界面上。 貌似.net framework的winform类库确实不支持png图片保存为透明。 Approach 1:Image img = (Image) bmp; img.Save(filename, ImageFormat.Png); // Correct PNG save Approach 2:Write that bmp to FileStream or MemoryStream and then save the stream content to png file.Let me know if any of them works ... winform中怎样使DataGridView的某一列可以添加两个Button控件 c#请教一个关于menuStrip快捷键的问题! 关于大量数据的添加,如何提高效率?用线程处理是否合适? 软件打包问题,请教 关于图片无法显示的问题 C#中使用下拉列表comboBox显示图片的问题 mcsd.net考试的问题? 在线诚问:哪位大虾能提供下列环境下c#编写的查询界面源代码(例子)? 关于在DataGrid控件中增加一列计算列? crystal report 分发软件为什么出报表提示注册密尺错误,可我注册时提示正确了阿 c# 实现RTMP 想做一个类似Galgame的游戏,求思路
Image img = (Image) bmp;
img.Save(filename, ImageFormat.Png); // Correct PNG save Approach 2:
Write that bmp to FileStream or MemoryStream and then save the stream content to png file.Let me know if any of them works ...