Change Ture Color DIB to Gray Scale DIB

Hi,
I want to change a true color DIB(device independent bitmap to a gray scale DIB...
What function give such an operation ?

@ I use VC++5.0..
sjlee092297Asked:
Who is Participating?
 
RONSLOWConnect With a Mentor Commented:
0
 
sjlee092297Author Commented:
I can't find RONSLOW's answer.. But I found the method to chane the True Color DIB to the Gray scale DIB .. There is no function to do such operation.. So, I realize it.. It is easy
I made header and palette for gray level image and converted image pixels to 8 bit data with
the average of RGB values..
It is easy to realize..

Anyway, Thank you...
0
 
sjlee092297Author Commented:
I can't find RONSLOW's answer.. But I found the method to change the True Color DIB to the Gray scale DIB .. There is no function to do such operation.. So, I realize it.. It is easy
I made header and palette for gray level image and converted image pixels to 8 bit data with
the average of RGB values..
It is easy to realize..

Anyway, Thank you...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.