I\'m using a security camera DLL to retreive the image from the camera. The DLL call a function of my program passing the image buffer as a parameter, but the image is in yu
You will have to write your own converter. GDI+ doesn't know how to deal with YUY2 bitmaps.
Look here.
Please note that 2 pixels share same color values and have different luminance values.
Here are some formulas to help you write your converter.