tags:

views:

35

answers:

0

I am well aware of how to convert BGR to RBG "manually" using Bitmap.SetPixel or unsafe code, but is there a .NET function which directly allows me to create a Bitmap from BGR data or to convert an BGR Bitmap to an RGB Bitmap?

The scope of this question is, that I want to display image data in a user interface. But creating the Bitmap from my raw data and using PictureBox.Image to display it, shows me red and blue interchanged.