Display PNG image with transparent background color using Gdiplus

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

I have loaded jpeg image from resource. To display image with transparent background color I converted jpeg image to png format using gdiplus using this link https://www.codeproject.com/Tips/140642/Converting-between-different-image-formats-using-G

Now I have Gdiplus::IStream for png.

Now how to draw png with a transparent color so all pixels of a certain color (for example: RGB(255,255,255)) show transparently and you can see the background where the transparent pixels are using Gdiplus.

Thanks.

Continue reading...
 
Back
Top