Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
GeneralWriting windows service problem Pin
ting66812-Oct-04 0:46
ting66812-Oct-04 0:46 
GeneralRe: Writing windows service problem Pin
J4amieC12-Oct-04 1:21
J4amieC12-Oct-04 1:21 
GeneralRe: Writing windows service problem Pin
ting66812-Oct-04 1:46
ting66812-Oct-04 1:46 
GeneralRe: Writing windows service problem Pin
J4amieC12-Oct-04 2:28
J4amieC12-Oct-04 2:28 
GeneralRe: Writing windows service problem Pin
ting66812-Oct-04 16:17
ting66812-Oct-04 16:17 
QuestionHow do I get label names from logical drives? Pin
Anonymous11-Oct-04 20:40
Anonymous11-Oct-04 20:40 
AnswerRe: How do I get label names from logical drives? Pin
User 25755211-Oct-04 22:18
User 25755211-Oct-04 22:18 
QuestionHow to create a Bitmap image from a array of Pixel data.... Pin
Kiran Satish11-Oct-04 19:48
Kiran Satish11-Oct-04 19:48 
Hi,

I am trying to create a Bitmap image using my code tht i posted previously. But now i am banging my head Confused | :confused: on how to create a BMP image exactly from a Array of pixeldata. I am having a 1D array consisting of Pixel RGB data (RGBRGBRGB....). If i use the CreateBitmap function what values should i have to use exactly as its arguments for nPlanes and nBitsPerPixel.

Plz.... help me on this... how to create a BMP image from this array in C#.

Cananyone tell me how i can create a bitmap image for my array of pixeldata.

According to MSDN the last argument for createbitmapfunction is (Pointer to an array of color data used to set the colors in a rectangle of pixels. Each scan line in the rectangle must be word aligned (scan lines that are not word aligned must be padded with zeros). If this parameter is NULL, the contents of the new bitmap is undefined.).--- wht does this actually mean does this array means my pixeldata array or not....?

thanks in advance,


Suman
AnswerRe: How to create a Bitmap image from a array of Pixel data.... Pin
Anonymous12-Oct-04 2:09
Anonymous12-Oct-04 2:09 
Generalhow Pin
Yulianto.11-Oct-04 19:14
Yulianto.11-Oct-04 19:14 
GeneralRe: how Pin
McClamm12-Oct-04 11:53
McClamm12-Oct-04 11:53 
GeneralFind List View Item Pin
Popoxinhxan11-Oct-04 16:30
Popoxinhxan11-Oct-04 16:30 
QuestionHow to hide a form at the program startup? Pin
ting66811-Oct-04 15:54
ting66811-Oct-04 15:54 
AnswerRe: How to hide a form at the program startup? Pin
Alex Korchemniy11-Oct-04 16:35
Alex Korchemniy11-Oct-04 16:35 
GeneralHelp needed..Urgent.....using CreateBitmap function in c# Pin
Kiran Satish11-Oct-04 12:26
Kiran Satish11-Oct-04 12:26 
GeneralMSMQ over HTTP Pin
francis10011-Oct-04 11:02
francis10011-Oct-04 11:02 
QuestionCan you safely start a form on a new thread? Pin
eyoung7011-Oct-04 10:59
eyoung7011-Oct-04 10:59 
AnswerRe: Can you safely start a form on a new thread? Pin
eyoung7011-Oct-04 11:16
eyoung7011-Oct-04 11:16 
GeneralRe: Can you safely start a form on a new thread? Pin
Dave Kreskowiak11-Oct-04 15:30
mveDave Kreskowiak11-Oct-04 15:30 
QuestionHow to access a control on a form from another class? Pin
DTWC_Lawrence11-Oct-04 10:20
DTWC_Lawrence11-Oct-04 10:20 
AnswerRe: How to access a control on a form from another class? Pin
Heath Stewart11-Oct-04 10:52
protectorHeath Stewart11-Oct-04 10:52 
GeneralProblem reading Files Pin
ee9903511-Oct-04 8:24
ee9903511-Oct-04 8:24 
GeneralRe: Problem reading Files Pin
Mike Dimmick11-Oct-04 10:15
Mike Dimmick11-Oct-04 10:15 
GeneralTrying to copy a datatable... Pin
Carl Mercier11-Oct-04 7:54
Carl Mercier11-Oct-04 7:54 
GeneralRe: Trying to copy a datatable... Pin
Anonymous11-Oct-04 8:08
Anonymous11-Oct-04 8:08 

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.