Solved

Change Ture Color DIB to Gray Scale DIB

Posted on 1997-09-25
3
445 Views
Last Modified: 2009-07-29
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..
0
Comment
Question by:sjlee092297
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 10 total points
ID: 1170345
0
 

Author Comment

by:sjlee092297
ID: 1170346
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
 

Author Comment

by:sjlee092297
ID: 1170347
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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
java inner class, for the sole use of parameter passing 21 77
convert char array to number in c 5 85
C++ question 3 65
DCT of  2D array using fftw in c++ 9 38
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now