Click here to Skip to main content
       

Managed C++/CLI

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionConvert 24-bit bmp capture to 8-bit capture in VC++, is it possible?memberlucky_122129 Oct '12 - 1:23 
Hi All,
 
Convert 24-bit bmp capture to 8-bit capture in VC++, is it possible?
 
Possible,
 
Can any provide the solution.
 

Thanks,
Lucky.
AnswerRe: Convert 24-bit bmp capture to 8-bit capture in VC++, is it possible? Pinmemberjschell29 Oct '12 - 8:44 
lucky_1221 wrote:
is it possible?

 
Yes.
 

lucky_1221 wrote:
Can any provide the solution.

 
Presumably you want someone to give you the code rather than just wanting to know if anyone could figure it out.
 
I won't be providing the code.
 
Presuming that no one else will either then you would need to do the following.
1. Learn basic programming
2. Learn basic IO (presumably you want to do this to files.)
3. Learn what image formats exists, and find the specifications for each. This includes 24 bit and 8 bit.
4. Write code to read a 24 bit image - using 1/3
5. Write code to write a 8 bit image - using 1/3
6. Put 2, 4 and 5 together into a program.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid