Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Not much help but... Pin
Kiran Satish21-Sep-04 19:29
Kiran Satish21-Sep-04 19:29 
GeneralRe: Not much help but... Pin
Christian Graus22-Sep-04 10:22
protectorChristian Graus22-Sep-04 10:22 
GeneralRe: Not much help but... Pin
Kiran Satish22-Sep-04 12:41
Kiran Satish22-Sep-04 12:41 
GeneralRe: Not much help but... Pin
Christian Graus22-Sep-04 12:45
protectorChristian Graus22-Sep-04 12:45 
GeneralRe: Not much help but... Pin
Kiran Satish22-Sep-04 13:43
Kiran Satish22-Sep-04 13:43 
GeneralRe: Not much help but... Pin
Christian Graus22-Sep-04 13:52
protectorChristian Graus22-Sep-04 13:52 
GeneralRe: Not much help but... Pin
Kiran Satish9-Oct-04 14:36
Kiran Satish9-Oct-04 14:36 
GeneralRe: Not much help but... Pin
Christian Graus10-Oct-04 9:04
protectorChristian Graus10-Oct-04 9:04 
Suman Niranjan wrote:
sorry if i bother u askin these many questions...

Not at all, that's what I invite by writing articles.

Given that the image is greyscale, the red, green and blue components will be the same. Therefore I'd assume that each pixel is defined by all 12 bits, which gives them a range of 4096 values. I'd shift the values by 4, so that you use the 8 most significant bits to define your grey level, then you need to shove that value into each of the red, green and blue values for your 24 bit image.



Christian

I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
GeneralRe: Not much help but... Pin
Kiran Satish10-Oct-04 9:37
Kiran Satish10-Oct-04 9:37 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 6:28
Kiran Satish23-Sep-04 6:28 
GeneralRe: Not much help but... Pin
Christian Graus23-Sep-04 10:58
protectorChristian Graus23-Sep-04 10:58 
GeneralRe: Not much help but... Pin
Kiran Satish23-Sep-04 12:02
Kiran Satish23-Sep-04 12:02 
GeneralCTreeCtrl highlight design question ... Pin
Maximilien20-Sep-04 10:06
Maximilien20-Sep-04 10:06 
GeneralProblmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 9:26
Rickard Andersson2020-Sep-04 9:26 
GeneralRe: Problmes using std::map in a class Pin
Navin20-Sep-04 11:06
Navin20-Sep-04 11:06 
GeneralRe: Problmes using std::map in a class Pin
Jörgen Sigvardsson20-Sep-04 13:40
Jörgen Sigvardsson20-Sep-04 13:40 
GeneralRe: Problmes using std::map in a class Pin
Rickard Andersson2020-Sep-04 23:27
Rickard Andersson2020-Sep-04 23:27 
GeneralRe: Problmes using std::map in a class Pin
Moak21-Sep-04 1:13
Moak21-Sep-04 1:13 
Generalwinbase.h and STILL_ACTIVE Pin
ns20-Sep-04 8:40
ns20-Sep-04 8:40 
QuestionDialog window class name? Pin
0v3rloader20-Sep-04 8:22
0v3rloader20-Sep-04 8:22 
AnswerRe: Dialog window class name? Pin
mfcuser20-Sep-04 9:40
mfcuser20-Sep-04 9:40 
AnswerRe: Dialog window class name? Pin
David Crow20-Sep-04 10:28
David Crow20-Sep-04 10:28 
AnswerRe: Dialog window class name? Pin
Jörgen Sigvardsson20-Sep-04 13:27
Jörgen Sigvardsson20-Sep-04 13:27 
AnswerRe: Dialog window class name? Pin
Sujan Christo20-Sep-04 18:00
Sujan Christo20-Sep-04 18:00 
QuestionHow to programmatically show and hide Windows XP destktop icons? Pin
Steve Messer20-Sep-04 7:08
Steve Messer20-Sep-04 7:08 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.