unknown
2010-01-11 15:13:30 UTC
I have a 32BPP png image with red background. RGB(255, 0,0)
I want to make the background transparent and save it as png with the transparent background.
I tried using CImage class but I was not able to get the transparent background.
I also tried using Gdiplus::Bitmap. I set the pixel values with appropriate Alpha values. But when I save I do not get the transparent background.
Can some one help me to solve this problem?
PB
Submitted via EggHeadCafe - Software Developer Portal of Choice
Save XAML Files In Any Image Format
http://www.eggheadcafe.com/tutorials/aspnet/6d8e27d4-818b-481a-8a75-5717898a0e55/save-xaml-files-in-any-im.aspx
I want to make the background transparent and save it as png with the transparent background.
I tried using CImage class but I was not able to get the transparent background.
I also tried using Gdiplus::Bitmap. I set the pixel values with appropriate Alpha values. But when I save I do not get the transparent background.
Can some one help me to solve this problem?
PB
Submitted via EggHeadCafe - Software Developer Portal of Choice
Save XAML Files In Any Image Format
http://www.eggheadcafe.com/tutorials/aspnet/6d8e27d4-818b-481a-8a75-5717898a0e55/save-xaml-files-in-any-im.aspx