Click here to Skip to main content
16,016,789 members
Home / Discussions / C#
   

C#

 
Questionhow to read the pen drive autorun file Pin
San@Coding6-Aug-07 16:35
San@Coding6-Aug-07 16:35 
QuestionReal helpful error message! NOT Pin
Mike Hankey6-Aug-07 16:19
mveMike Hankey6-Aug-07 16:19 
QuestionReferencing exe project Pin
MAW306-Aug-07 15:56
MAW306-Aug-07 15:56 
AnswerRe: Referencing exe project Pin
Luc Pattyn7-Aug-07 2:18
sitebuilderLuc Pattyn7-Aug-07 2:18 
GeneralRe: Referencing exe project Pin
MAW307-Aug-07 9:33
MAW307-Aug-07 9:33 
QuestionInterface blues Pin
seanwright6-Aug-07 15:28
seanwright6-Aug-07 15:28 
AnswerRe: Interface blues Pin
Guffa6-Aug-07 15:35
Guffa6-Aug-07 15:35 
QuestionCreate RGB Image Pin
iuri_figueiredo6-Aug-07 12:07
iuri_figueiredo6-Aug-07 12:07 
Hello friends, Wink | ;)

I’m trying to elaborate one program capable of create one image based on RGB data.
In this case, I receive RGB values one by one (i.e. serial) … for example,

for (int posX = 0; posX < 200; posX++)
{
______for (int posY = 0; posY < 200; posY++)
______{
____________color = Color.FromArgb(r, g, b);
____________bitmap.SetPixel(posX, posY, color);
______}
}

Where bitmap is 200x200 image and r, g and b contains the RGB values received in serial. But this is too slow ... Cry | :((

So I ask if there is anyone that have a better way to do this ... for instance, if there is any class that build three arrays (R, G and B) and define them as one image, instead of building the image pixel by pixel. Blush | :O

Thank you so much for your attention ... best regards, Big Grin | :-D




Iuri Figueiredo :->
AnswerRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 12:24
sitebuilderLuc Pattyn6-Aug-07 12:24 
GeneralRe: Create RGB Image Pin
iuri_figueiredo6-Aug-07 12:55
iuri_figueiredo6-Aug-07 12:55 
GeneralRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 13:09
sitebuilderLuc Pattyn6-Aug-07 13:09 
GeneralRe: Create RGB Image Pin
Liam O'Hagan6-Aug-07 16:10
Liam O'Hagan6-Aug-07 16:10 
QuestionRe: Create RGB Image Pin
iuri_figueiredo7-Aug-07 7:22
iuri_figueiredo7-Aug-07 7:22 
QuestionUse FindControl Pin
pariisa6-Aug-07 11:36
pariisa6-Aug-07 11:36 
AnswerRe: Use FindControl Pin
Luc Pattyn6-Aug-07 11:49
sitebuilderLuc Pattyn6-Aug-07 11:49 
QuestionUse Findcontrol Pin
pariisa6-Aug-07 11:30
pariisa6-Aug-07 11:30 
AnswerRe: Use Findcontrol Pin
Luc Pattyn6-Aug-07 11:33
sitebuilderLuc Pattyn6-Aug-07 11:33 
QuestionLabel Help Pin
RussBus6-Aug-07 10:00
RussBus6-Aug-07 10:00 
AnswerRe: Label Help Pin
Hessam Jalali6-Aug-07 10:12
Hessam Jalali6-Aug-07 10:12 
AnswerRe: Label Help Pin
Dave Kreskowiak6-Aug-07 10:12
mveDave Kreskowiak6-Aug-07 10:12 
AnswerRe: Multi threads accessing database Pin
led mike6-Aug-07 9:14
led mike6-Aug-07 9:14 
Questiontime(NULL) [modified] Pin
Blubbo6-Aug-07 8:28
Blubbo6-Aug-07 8:28 
AnswerRe: time(NULL) Pin
Luc Pattyn6-Aug-07 8:50
sitebuilderLuc Pattyn6-Aug-07 8:50 
AnswerRe: time(NULL) Pin
Hessam Jalali6-Aug-07 9:02
Hessam Jalali6-Aug-07 9:02 
AnswerRe: time(NULL) Pin
Guffa6-Aug-07 13:59
Guffa6-Aug-07 13:59 

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.