I'm trying to display a jp2 image in a picturebox on a CE5 device using FreeImage.
Everything works fine on the win32 side where I do initial code testing, but I get a compile error when compiling for CE5.
This line:
Bitmap bmFacial = (Bitmap)fib;
Where fib is a FreeImageBitmap produces this error:
error CS0030: Cannot convert type 'FreeImageAPI.FreeImageBitmap' to 'System.Drawing.Bitmap'
I suppose I could save the image to a .jpg file, then open it and apply it to the picturebox, but that seems a bit clunky.
Any idea?