Click here to Skip to main content
16,018,637 members
Home / Discussions / C#
   

C#

 
QuestionRequest.Form to Array Pin
keyboard warrior27-Aug-07 9:19
keyboard warrior27-Aug-07 9:19 
AnswerRe: Request.Form to Array Pin
NaNg1524127-Aug-07 9:29
NaNg1524127-Aug-07 9:29 
NewsSQLite wrapper class Pin
Igor Sokolsky27-Aug-07 8:22
Igor Sokolsky27-Aug-07 8:22 
QuestionExpose EventHandler to VBScript [modified] Pin
patrickcbrown27-Aug-07 5:53
patrickcbrown27-Aug-07 5:53 
QuestionNewbie question about "%" Pin
...---...27-Aug-07 5:34
...---...27-Aug-07 5:34 
AnswerRe: Newbie question about "%" Pin
Michael Potter27-Aug-07 5:47
Michael Potter27-Aug-07 5:47 
Questiontrying to create a bitmap from 8bit greyscale using System.Drawing.Bitmap Pin
aei_totten27-Aug-07 4:58
aei_totten27-Aug-07 4:58 
AnswerRe: trying to create a bitmap from 8bit greyscale using System.Drawing.Bitmap Pin
aei_totten27-Aug-07 5:14
aei_totten27-Aug-07 5:14 
tried
<br />
<br />
                Bitmap temp = new System.Drawing.Bitmap(camera.width, camera.height, stride, System.Drawing.Imaging.PixelFormat.Format24bppRgb, camera.MonocromeFrame);<br />
<br />
                  DisplayBitmap = new Bitmap(temp.Width,temp.Height);<br />
<br />
                  for(int y=0;y<DisplayBitmap.Height;y++)<br />
<br />
                  {<br />
<br />
                    for(int x=0;x<DisplayBitmap.Width;x++)<br />
<br />
                    {<br />
<br />
                      Color c=temp.GetPixel(x,y);<br />
<br />
                      int luma = (int)(c.R*0.3 + c.G*0.59+ c.B*0.11);<br />
<br />
                      DisplayBitmap.SetPixel(x,y,Color.FromArgb(luma,luma,luma));<br />
<br />
                    }<br />
<br />
                  }

and it lagged beyond compare because it is a huge image.

The board retarded my for loops
here is a link to the code No Paste version of the code [^]
Questionhow can i shut down my LAN? any idea Pin
nayabsiddiqi27-Aug-07 4:27
nayabsiddiqi27-Aug-07 4:27 
AnswerRe: how can i shut down my LAN? any idea Pin
Le centriste27-Aug-07 5:01
Le centriste27-Aug-07 5:01 
GeneralRe: how can i shut down my LAN? any idea Pin
nayabsiddiqi27-Aug-07 5:35
nayabsiddiqi27-Aug-07 5:35 
AnswerRe: how can i shut down my LAN? any idea Pin
Spacix One27-Aug-07 7:06
Spacix One27-Aug-07 7:06 
GeneralRe: how can i shut down my LAN? any idea Pin
nayabsiddiqi2-Oct-07 6:46
nayabsiddiqi2-Oct-07 6:46 
QuestionFieldBuilder question Pin
ma7moud_7elmy27-Aug-07 4:12
ma7moud_7elmy27-Aug-07 4:12 
QuestionData Transfer from .Net to VB6 application Pin
vs2428427-Aug-07 2:38
vs2428427-Aug-07 2:38 
AnswerRe: Data Transfer from .Net to VB6 application Pin
Leyu27-Aug-07 4:31
Leyu27-Aug-07 4:31 
GeneralRe: Data Transfer from .Net to VB6 application Pin
vs2428427-Aug-07 23:16
vs2428427-Aug-07 23:16 
AnswerRe: Data Transfer from .Net to VB6 application Pin
Justin Perez27-Aug-07 4:44
Justin Perez27-Aug-07 4:44 
GeneralRe: Data Transfer from .Net to VB6 application Pin
vs2428427-Aug-07 23:16
vs2428427-Aug-07 23:16 
Questionstart external app, but in a sync way Pin
blackjack215027-Aug-07 2:05
blackjack215027-Aug-07 2:05 
AnswerRe: start external app, but in a sync way Pin
Justin Perez27-Aug-07 2:13
Justin Perez27-Aug-07 2:13 
GeneralRe: start external app, but in a sync way Pin
blackjack215027-Aug-07 2:19
blackjack215027-Aug-07 2:19 
GeneralRe: start external app, but in a sync way Pin
Martin#27-Aug-07 2:32
Martin#27-Aug-07 2:32 
GeneralRe: start external app, but in a sync way Pin
Justin Perez27-Aug-07 2:39
Justin Perez27-Aug-07 2:39 
AnswerRe: start external app, but in a sync way Pin
Spacix One28-Aug-07 10:19
Spacix One28-Aug-07 10:19 

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.