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 bitmaps location in memory.
What I dont 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 Im 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
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 bitmaps location in memory.
What I dont 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 Im 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