GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图解决办法

GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图GDI+用TGPBitmap.Create(300,300,Pi

GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图
GDI+用TGPBitmap.Create(300,300,PixelFormat1bppIndexed)创建单色位图保存后
背景色总是黑色,如何能把背景色设为白色?

[解决办法]
tgpBitmap.canvas.fillrect
或者
逐相素变白