Solved

Change Ture Color DIB to Gray Scale DIB

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

760 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

20 Experts available now in Live!

Get 1:1 Help Now