display grayscale image in visual c++ 6.0
-
I am new to window enviroment and I would like to know how I can display grayscale image using visual c++ 6.0? snowcone
-
I am new to window enviroment and I would like to know how I can display grayscale image using visual c++ 6.0? snowcone
-
Hello, You need to use Win32 along GDI functions like this: CreateWindow() GetDC() SelectObject() GetStockObject() SetStretchBltMode() SetPixel() StretchBlt() BitBlt() … DeleteDC() DeleteObject() etc. Regards,
Since I am too new to window visualC++, I am not quite following your flow here. Can you give me code example that I can compile and run in visualc++ to load an grayscale image and display it on window frame? Thanks.
-
Since I am too new to window visualC++, I am not quite following your flow here. Can you give me code example that I can compile and run in visualc++ to load an grayscale image and display it on window frame? Thanks.
-
I am new to window enviroment and I would like to know how I can display grayscale image using visual c++ 6.0? snowcone
of course you can use of
SetPixelRGB
with two loops for height and width but its not good idea better use ofBitBlt
and see last parameter of BitBlt on the MSDN
WhiteSky