I can see where this is probably happening in SetDIBits, but I'm just not sure how it could be getting screwed up...
unless... the colors are getting screwed up when it's loaded into the pixmap eh?
unless... the colors are getting screwed up when it's loaded into the pixmap eh?