Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dll creation in win32 * Pin
Eytukan3-Mar-09 22:48
Eytukan3-Mar-09 22:48 
GeneralRe: dll creation in win32 * Pin
Eytukan3-Mar-09 22:36
Eytukan3-Mar-09 22:36 
GeneralRe: dll creation in win32 * Pin
hrishiS3-Mar-09 22:39
hrishiS3-Mar-09 22:39 
GeneralRe: dll creation in win32 * Pin
hrishiS3-Mar-09 23:20
hrishiS3-Mar-09 23:20 
GeneralRe: dll creation in win32 * Pin
Eytukan3-Mar-09 23:25
Eytukan3-Mar-09 23:25 
AnswerRe: dll creation in win32 Pin
Hamid_RT3-Mar-09 19:08
Hamid_RT3-Mar-09 19:08 
QuestionConvert 16bit grayscale bitmap to 8bit grayscale bitmap Pin
Akt_4_U3-Mar-09 18:12
Akt_4_U3-Mar-09 18:12 
QuestionWriting 8-bit grayscale bitmap data Pin
Member 21167363-Mar-09 17:36
Member 21167363-Mar-09 17:36 
Hi everybody,

I'm currently working with 8-bit grayscale bitmap scanned from my HP LaserJet 3055. I am able to read the Bitmap Header and its data into an array of BYTE. I write the values directly into Text File, the result is great! However, I can't create another BMP file using the data array I have.

For 24-bit BMP, what we have to write after the Header is the RGB data, but for the grayscale one we have to use the Color Table, right? How can I use the Color table properly?

Please anyone helps me on how to create an 8-bit grayscale bitmap!

Thanks,

Ing LengIeng
Software Developer

AnswerRe: Writing 8-bit grayscale bitmap data Pin
Akt_4_U3-Mar-09 18:08
Akt_4_U3-Mar-09 18:08 
GeneralRe: Writing 8-bit grayscale bitmap data Pin
Member 21167363-Mar-09 21:03
Member 21167363-Mar-09 21:03 
GeneralRe: Writing 8-bit grayscale bitmap data Pin
Akt_4_U3-Mar-09 22:01
Akt_4_U3-Mar-09 22:01 
GeneralRe: Writing 8-bit grayscale bitmap data Pin
Member 21167364-Mar-09 4:09
Member 21167364-Mar-09 4:09 
GeneralRe: Writing 8-bit grayscale bitmap data Pin
Akt_4_U4-Mar-09 22:19
Akt_4_U4-Mar-09 22:19 
GeneralRe: Writing 8-bit grayscale bitmap data Pin
Member 21167364-Mar-09 22:40
Member 21167364-Mar-09 22:40 
Questionhow to clear editbox with vc2005 Pin
chenfengrugao3-Mar-09 17:12
chenfengrugao3-Mar-09 17:12 
AnswerRe: how to clear editbox with vc2005 Pin
Eytukan3-Mar-09 17:28
Eytukan3-Mar-09 17:28 
GeneralRe: how to clear editbox with vc2005 Pin
chenfengrugao3-Mar-09 17:38
chenfengrugao3-Mar-09 17:38 
AnswerRe: how to clear editbox with vc2005 Pin
David Crow4-Mar-09 3:24
David Crow4-Mar-09 3:24 
QuestionRe: how to clear editbox with vc2005 Pin
Eytukan4-Mar-09 3:27
Eytukan4-Mar-09 3:27 
AnswerRe: how to clear editbox with vc2005 Pin
David Crow4-Mar-09 3:33
David Crow4-Mar-09 3:33 
GeneralRe: how to clear editbox with vc2005 Pin
Eytukan4-Mar-09 6:50
Eytukan4-Mar-09 6:50 
GeneralRe: how to clear editbox with vc2005 Pin
David Crow4-Mar-09 6:53
David Crow4-Mar-09 6:53 
GeneralRe: how to clear editbox with vc2005 Pin
Eytukan4-Mar-09 6:54
Eytukan4-Mar-09 6:54 
Question[MFC] How to draw an eclipse with any color and line width on memory device context ( using bitmap )? Pin
Un Suthee3-Mar-09 14:49
Un Suthee3-Mar-09 14:49 
AnswerRe: [MFC] How to draw an eclipse with any color and line width on memory device context ( using bitmap )? Pin
«_Superman_»3-Mar-09 16:07
professional«_Superman_»3-Mar-09 16:07 

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.