I have a byte[] that represents the raw data of an image. I would like to convert it to a BitmapImage so that I can bind it to an Image control.
I tried several examples I found but I kept getting the following exception
"No imaging component suitable to complete this operation was found."
I think it is because my byte[] does not actually represent an Image but only the raw bits.
so my question is as mentioned above is how to convert a byte[] of raw bits to a BitmapImage.