Hello
I saw sent pictures. I think that this no problem of option doD3D but problem in picture. Green color of background is RGB=$00FF00 but some pixels around pictures have tone or nuance of green color (or the same color but in other palette entry - 8 bit palette). When I tried color change in PSP, all pixels was succesfully changed but contoures was in tone green still.

I think, that picture has missing the mask for alphachannel too.