Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change Ture Color DIB to Gray Scale DIB

Posted on 1997-09-25
3
Medium Priority
?
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

636 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