Between map it to a scale of 0-255 to me, but how to draw the picture displayed on the control? Feasible or infeasible?
MFC novice, consult with an open mind, thanks.
CodePudding user response:
Displayed on the picture controlThe simplest is SetPixel
CodePudding user response:
Such problems directly baidu Google, search the MFC display images, off-the-shelf DEMO out, directly to fixCodePudding user response:
According to gray scale is more troublesome, it is recommended that the display RGB, RGB three color gamut all use the same valueCodePudding user response:
use StretchDIBits CreateDIBSection, CreateDIBitmap three methods showed memory bitmapCodePudding user response:
According to gray scale is more troublesome, it is recommended that the display RGB, RGB three color gamut all use the same value