Sorry everything worked fine simply like this: Bitmap bmp(VIDEO_WIDTH, VIDEO_HEIGHT, VIDEO_WIDTH*4, Imaging::PixelFormat::Format32bppRgb, IntPtr(context->pixels)); this->pictureBox1->Image=bmp.GetThumbnailImage(VIDEO_WIDTH, VIDEO_HEIGHT, nullptr, System::IntPtr::Zero); Don't know if creating a Bitma...