B
Bjorn Brox
Hi!
Windows Mobile 6.0, CF 3.5
I noticed that Bitmap.Save(xxx, ImageFormat.Png) (and Gif) does not
preserve transparency when inspecting the image in for example PhotoShop.
I even tried to run through each pixel before the save by executing
if (bmp.GetPixel(x, y) == Color.White)
bmp.SetPixel(x, y, Color.Transparent);
(debug showed that the SetPixel statement was executed)
Does anyone have some solution on how to save a bitmap as PNG (or gif)
where white is made total transparent?
Windows Mobile 6.0, CF 3.5
I noticed that Bitmap.Save(xxx, ImageFormat.Png) (and Gif) does not
preserve transparency when inspecting the image in for example PhotoShop.
I even tried to run through each pixel before the save by executing
if (bmp.GetPixel(x, y) == Color.White)
bmp.SetPixel(x, y, Color.Transparent);
(debug showed that the SetPixel statement was executed)
Does anyone have some solution on how to save a bitmap as PNG (or gif)
where white is made total transparent?