Convert BMP image to PNG with C#. Alpha channel changing? -
i have bitmap image alpha channel transparency. converting bmp image png format. here code:
string tmp = @"c:\mypath\imagename"; using (bitmap changeformat = new bitmap(tmp+".bmp")) { changeformat.save(tmp + ".png", imageformat.png) }
everything okay. have png image alpha channel white instead of transparent (which in bmp image).
ps:test window xp, png imgae when open in window 7 ok . , open gimp soft.
Comments
Post a Comment