S
sSpanglestein
Is there a simple way to set the foreground and background colors of a
one bit image? What I need to do is draw a bitmap on a Canvas
component where all black pixels in the loaded gif Image paint as my
custom foreground color and all white pixels paint as my custom
background color. I'm thinking maybe something like drawing a filled
rectangle using the bitmap as a mask?? I am porting code from Windows,
and this is something that is kind of built in to MFC.
- Thanks, Spanglestein
one bit image? What I need to do is draw a bitmap on a Canvas
component where all black pixels in the loaded gif Image paint as my
custom foreground color and all white pixels paint as my custom
background color. I'm thinking maybe something like drawing a filled
rectangle using the bitmap as a mask?? I am porting code from Windows,
and this is something that is kind of built in to MFC.
- Thanks, Spanglestein