RGB value of 24bit bitmap 
Author Message
 RGB value of 24bit bitmap

Hi all,
I am new to C++, here are some questions about 24bit bitmap, please help!
Can anyone tell me how can I access the RGB value of any coordinates in the raw
data with the pointer ptr?
BYTE * ptr =(BYTE *)IMAGEDATA(lpBi);

any advise or reference are appreciated! thanks!



Fri, 29 Aug 2003 03:06:10 GMT  
 RGB value of 24bit bitmap
What is IMAGEDATA and what is lpBi?
How did you load the bitmap?


Hi all,
I am new to C++, here are some questions about 24bit bitmap, please help!
Can anyone tell me how can I access the RGB value of any coordinates in the
raw
data with the pointer ptr?
BYTE * ptr =(BYTE *)IMAGEDATA(lpBi);

any advise or reference are appreciated! thanks!



Fri, 29 Aug 2003 08:51:43 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. 16bit bitmap -> 24bit bitmap

2. 16bit bitmap -> 24bit bitmap

3. Why the RGB value I get from Getpixel() is different from the value from the bit

4. how to shape a button to a 24bit bitmap which delete the transparent region and

5. Getting the RGB data as an array out of Bitmap

6. Splitting RGB hex values

7. Raster Operations on Palette Indexes in stead of RGB Values

8. Set bitmap in RGB ???

9. rgb value

10. PRINT THE rgb VALUES OF A PIXEL????

11. Using an RGB value in GetStockObject

12. Painting Arbitrary RGB value color to the screen

 

 
Powered by phpBB® Forum Software