- 博客(2)
- 收藏
- 关注
转载 Graphics::Clear(Color::Transparent)不会生效
Graphics::Clear(Color::Transparent);实际不会生效。该函数相当于在原有的基础上叠加一层,而叠加透明色的结果就是原来的图片。参考文献:1.http://stackoverflow.com/questions/26224018/c-sharp-graphics-clearcolor-transparent-not-working-properly2
2016-08-24 15:32:51 2812
原创 使用Image.FromHbitmap时丢失Alpha信息的解决方案
在使用Image.FromHbitmap创建Image时,会丢失Alpha信息(或者说GDI+在使用HBITMAP创建Bitmap时都不会携带Alpha信息)。参考文献:1.http://stackoverflow.com/questions/335273/how-to-create-a-gdiplusbitmap-from-an-hbitmap-retaining-the-alp
2016-08-24 10:04:56 1818
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人