April 28th, 2010, 04:15 AM
Manually created byte array to picture box.
I'm fairly new to C#. I have created a byte array which has elements which I have manually specified. Specifically, these bytes correspond to BGR components of an image (again, I emphasise that I have manually specified the elements.
I would like to display my byte array as an image in a picture box. I've researched a lot, but have only found how to convert a byte array to a picture box image provided the byte array has been created by reading an image from file etc, but not manually created.
I figure my issue has something to do with image header information being absent.
Any help would be greatly appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.