Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stepping up! Pin
leppie17-Feb-06 16:29
leppie17-Feb-06 16:29 
QuestionSSH Question Pin
vipix0117-Feb-06 13:46
vipix0117-Feb-06 13:46 
AnswerRe: SSH Question Pin
Robert M Greene17-Feb-06 14:18
Robert M Greene17-Feb-06 14:18 
GeneralRe: SSH Question Pin
vipix0117-Feb-06 14:23
vipix0117-Feb-06 14:23 
QuestionUsing Crystal Reports Pin
TheJudeDude17-Feb-06 12:52
TheJudeDude17-Feb-06 12:52 
Question Total Posts: 1 Member Since: Jan 30, 2006 [C#] loading .pgm file within a Bitmap object Pin
Lawx0117-Feb-06 11:35
Lawx0117-Feb-06 11:35 
AnswerRe: Pin
CiNN17-Feb-06 14:50
CiNN17-Feb-06 14:50 
GeneralRe: Pin
Lawx0117-Feb-06 15:17
Lawx0117-Feb-06 15:17 
Thank you for your help.

I just like to insist on the beginner aspect of my question. Could you be a more precise?

I don't think I need the bmp header, I just want to use the System.Drawing.Bitmap class.

Also, the decoding phase from pgm to bitmap is a bit confusing for me. What PixelFormat should I use for the receiving bitmap?

Is the conversion from a single int to a pixel is okay?
grayValue = br.ReadByte();
pixel = Convert.ToInt32(grayValue);
bmp.SetPixel(i, j, Color.FromArgb(pixel,pixel,pixel)

Thanks


Law
GeneralRe: Pin
CiNN17-Feb-06 21:35
CiNN17-Feb-06 21:35 
GeneralRe: Pin
Lawx0118-Feb-06 0:46
Lawx0118-Feb-06 0:46 
Questioncannot connect to server(web service for pocket PC) Pin
Khaled Mahmoud17-Feb-06 10:58
Khaled Mahmoud17-Feb-06 10:58 
QuestionCant add a Web Reference Pin
DocH0liday17-Feb-06 10:50
DocH0liday17-Feb-06 10:50 
QuestionEquilizer Problem Pin
snouto17-Feb-06 7:30
snouto17-Feb-06 7:30 
QuestionC# to UML Pin
hg270517-Feb-06 7:15
hg270517-Feb-06 7:15 
AnswerRe: C# to UML Pin
Insincere Dave17-Feb-06 7:57
Insincere Dave17-Feb-06 7:57 
QuestionDetermining Upload Speeds In C# Pin
mcmcom17-Feb-06 6:46
mcmcom17-Feb-06 6:46 
AnswerRe: Determining Upload Speeds In C# Pin
Guffa17-Feb-06 10:02
Guffa17-Feb-06 10:02 
Questionload 3d object into form Pin
de_Oracle17-Feb-06 6:07
de_Oracle17-Feb-06 6:07 
AnswerRe: load 3d object into form Pin
Judah Gabriel Himango17-Feb-06 10:20
sponsorJudah Gabriel Himango17-Feb-06 10:20 
Question2 Simple quastions Pin
ytubis17-Feb-06 6:04
ytubis17-Feb-06 6:04 
AnswerRe: 2 Simple quastions Pin
Dave Kreskowiak17-Feb-06 10:20
mveDave Kreskowiak17-Feb-06 10:20 
Questionhow to use progressbar for long operation ? Pin
hdv21217-Feb-06 5:14
hdv21217-Feb-06 5:14 
AnswerRe: how to use progressbar for long operation ? Pin
mcmcom17-Feb-06 9:38
mcmcom17-Feb-06 9:38 
QuestionOpen File Pin
tanishq151017-Feb-06 5:14
tanishq151017-Feb-06 5:14 
AnswerRe: Open File Pin
KaptinKrunch17-Feb-06 6:07
KaptinKrunch17-Feb-06 6: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.