Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a text grabbing app Pin
alex.barylski14-Jan-05 18:23
alex.barylski14-Jan-05 18:23 
GeneralCreating library MyProject.lib and object MyProject.exp Pin
White Owl14-Jan-05 9:34
White Owl14-Jan-05 9:34 
GeneralRe: Creating library MyProject.lib and object MyProject.exp Pin
Joel Holdsworth14-Jan-05 23:56
Joel Holdsworth14-Jan-05 23:56 
GeneralRe: Creating library MyProject.lib and object MyProject.exp Pin
White Owl15-Jan-05 6:15
White Owl15-Jan-05 6:15 
GeneralConvert grayscale to monochrome Pin
lastdays14-Jan-05 8:52
lastdays14-Jan-05 8:52 
GeneralRe: Convert grayscale to monochrome Pin
PJ Arends14-Jan-05 9:42
professionalPJ Arends14-Jan-05 9:42 
GeneralRe: Convert grayscale to monochrome Pin
lastdays14-Jan-05 10:09
lastdays14-Jan-05 10:09 
GeneralRe: Convert grayscale to monochrome Pin
PJ Arends14-Jan-05 10:37
professionalPJ Arends14-Jan-05 10:37 
OK, then just take your grayscale algorithm and instead of converting each colour pixel into one of the 256 greyscale colours convert each pixel into the two monochrome colours.
psuedo code
grey = (blue * 11 + green * 59 + red * 30) / 100;
pixel = (grey > 127) ? white : black;




"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Convert grayscale to monochrome Pin
lastdays14-Jan-05 12:06
lastdays14-Jan-05 12:06 
GeneralRe: Convert grayscale to monochrome Pin
Chris Losinger14-Jan-05 12:24
professionalChris Losinger14-Jan-05 12:24 
GeneralRe: Convert grayscale to monochrome Pin
lastdays15-Jan-05 0:34
lastdays15-Jan-05 0:34 
GeneralPassing arrays to different dialogs Pin
dlarkin7714-Jan-05 8:46
dlarkin7714-Jan-05 8:46 
GeneralRe: Passing arrays to different dialogs Pin
David Crow14-Jan-05 9:26
David Crow14-Jan-05 9:26 
Generalbinary file reading Pin
bwagz14-Jan-05 6:20
bwagz14-Jan-05 6:20 
GeneralRe: binary file reading Pin
Antony M Kancidrowski14-Jan-05 6:57
Antony M Kancidrowski14-Jan-05 6:57 
GeneralRe: binary file reading Pin
bwagz14-Jan-05 7:09
bwagz14-Jan-05 7:09 
GeneralRe: binary file reading Pin
Antony M Kancidrowski14-Jan-05 15:11
Antony M Kancidrowski14-Jan-05 15:11 
GeneralRe: binary file reading Pin
White Owl14-Jan-05 10:00
White Owl14-Jan-05 10:00 
GeneralHelp IM gonna fail me course at college if i get no help Pin
Member 165528414-Jan-05 5:53
Member 165528414-Jan-05 5:53 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
charlieg14-Jan-05 6:03
charlieg14-Jan-05 6:03 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
David Crow14-Jan-05 9:07
David Crow14-Jan-05 9:07 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
alex.barylski14-Jan-05 18:26
alex.barylski14-Jan-05 18:26 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Malcolm Smart15-Jan-05 7:36
Malcolm Smart15-Jan-05 7:36 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Branislav14-Jan-05 22:16
Branislav14-Jan-05 22:16 
GeneralRe: Help IM gonna fail me course at college if i get no help Pin
Member 165528416-Jan-05 10:43
Member 165528416-Jan-05 10:43 

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.