|
-
October 12th, 2003, 08:02 PM
#1
Need help with bitmap
HI,
Thnaks for taking time to read my message.
Ok here is my problem, i have an application in which i have a control (OCX from quickcam SDK) that saves a DIBitmap to a memory location. The bitmap is always a fixed resolution (320*240) and 24bit RGB. I need to access the invidual pixel data to convert the values to greyscale and store them in a [320][240] elements standard array for some statistical processing.
Firstly am i to assume that there is no BITMAPFILEHEADER? and if not how will i determine where the offset of the pixel data starts?
Is it possible to use a pointer somehow to access the data and how would i do this. Id prefer to do it this way than use some type of classes.
Anyway, Thanks in advance,
Donraws
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|