Re: New Software. FTP HUD with 3-bets %!! Free!!!
It's weird. The image definitely has alpha. When I load the image the alpha is there - I can look at the individual pixels. Looking at the docs for CImage::AlphaBlend it is fairly clear that per-pixel alpha is supported and yet when I call the code the alpha channel is ignored.
[censored] Microsoft. Google on the other hand is awesome. The 2nd result I got on searching "CImage AlphaBlend png" is this thread.
I tried pre-multiply the alpha into the png pixels. It didn't work either but it did make the corners black, which does look better. At this point I'm gonna leave it and see if anything else comes to mind.
|