New to this, I'm using Spinnaker SDK example for a FLIR (PointGrey) camera. I'm trying to convert the 'convertedImage' for use in a PictureBox in Windows Forms and get an error "Cannot implicitly convert type to 'System.Drawing.Image'. An explicit conversion exists (are you missing a cast?)". Can you give me an idea what I need to do? Thanks!
Tried everything including basic explicit casts.
//Part of Spinnaker SDK example:
using (IManagedImage convertedImage =
rawImage.Convert(PixelFormatEnums.Mono8))
{
String filename = "TriggerQS-CSharp-";
if (deviceSerialNumber != "")
{
filename = filename + deviceSerialNumber + "-";
}
Image testImage = convertedImage;
}