Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

creating a bitmap image in MFC

Status
Not open for further replies.

chehouani

Newbie level 3
Newbie level 3
Joined
May 16, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
Hi
i want to generate in VC++ an image from a 2D array of numerical value A[512][512] that each value is a gray level from 0 to 255. is there anay VC++ function to do this ?
thank you
 

It's not that hard. All you have to do is to work with the drawing related classes,e.g.
CBitmap (bitmap handling), CDC (Device context handling), CGdiObject, etc. IIRC you might need to subclass the CBitmap object inside a CWindow derived object. Do some google search on these classes for articles. Furthermore, I suppose that you have MSDN Library documentation handy, right? If you have't got it then it'll be quite hard to develop software with Microsoft Visual C++ coz it's the main source of information/refrence for the classes and windows APIs.

happy coding :wink:
 

**broken link removed**

Added after 1 minutes:

**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top