Easiest Way to Show Raw Image Data in PictureBox as Bitmap

  • Thread starter Thread starter R. Irudezu
  • Start date Start date
R

R. Irudezu

Guest
Hi all, i'm getting raw images from memory and i can not display them as bitmap or other formats in PictureBox.

Developing environment is C++/CLI, Win32 Desktop Application.

Raw images received from a struct and structs data field is:

  • int width
  • int height
  • int isColor (1: image is colored, 0: greyscale)
  • int digit (size of a row of image in memory as byte)
  • int size (size of data in memory as byte )
  • void* data (32-bit aligned image data)

Let's call this struct as 'imageData'

How can i forge a bitmap image to display in PictureBox with using these.

Continue reading...
 
Back
Top