Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello everyone; first post.

 

I am trying to display a bitmap that is stored in memory to a PictureBox (or even as the background image of a form if that proves to be faster).

 

The bitmap data in memory is constantly being updated (live video). This constant update is being handled by a DLL that I call which returns a pointer to the bitmap's location in memory.

 

What I don't know how to do is read the memory (using the passed pointer) and form a bitmap image (which could then be displayed in a PictureBox, Form, etc.).

 

Since I'm dealing with live video, I would like to use the absolute fastest method possible.

 

The bitmap format is 24 bits per pixel. There is no bitmap header, just the actual bits.

 

Does anyone have any ideas on how to do this?

 

Thanks,

Askani

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...