2009-02-27 12:05:56 UTC
I use the CImage class to load PNG file and do the alpha blending in a
CImage m_imgTest;//in the header file
m_imgBack.BitBlt((HDC)dc,0,0);//an other image as background
Somehow the alpha blendig works - I can see the background throug some
parts of my test.png and completely transparent parts of test.png
ain't visible at all.
But there must be something wrong with the alpha function or the alpha
data: parts with a very low alpha are displayed as if they had a high
I put the same pictures as back- and foreground into an html file and
started it in IExplore & FireFox. Both programs deliver alpha blending
What am I doing wrong?
Best Regards & thanks in advance,