Comparing Transparent Bitmaps

Started by
11 comments, last by malpass 20 years, 11 months ago
wat? I obviously do know what i''m talking about, iv already solved it myself now.
Advertisement
Have your mask be a monochrome device context. Put the screen image into a color DC, and use BitBlt with the SRCAND raster op, and it should work. Transparent portions of the destination image should be black I imagine.

I haven''t tested it, but it sounds promising.
ye, thats what I did. But then I need an efficient way to compare the bitmaps. Would I just say

if (myImage1.Equals(myImage2)) // whatever

would that work?

This topic is closed to new replies.

Advertisement