S
sgrm123
Guest
I have png in Gdiplus::image. I can render image using below code.
Gdiplus::Graphics graphics(dc);
graphics.DrawImage(m_pBitmap, 0, 0);
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.
Can I get any sample code?
Continue reading...
Gdiplus::Graphics graphics(dc);
graphics.DrawImage(m_pBitmap, 0, 0);
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.
Can I get any sample code?
Continue reading...