Solved

Change Ture Color DIB to Gray Scale DIB

Posted on 1997-09-25
3
440 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Want to delete all my personal data 13 138
C++ question 3 62
Need some help with Microsoft Visual Studio C++ 2003 5 51
C++ :Change value from  DisableCMD registry 4 50
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

910 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

21 Experts available now in Live!

Get 1:1 Help Now