Test:
var emptyBitmap = new Bitmap(100, 100, PixelFormat.Format24bppRgb);
var im = new MagickImage(emptyBitmap);
Result:
System.ArgumentNullException occurred
HResult=-2147467261
Message=Value cannot be null.
Parameter name: encoder
Source=System.Drawing
ParamName=encoder
StackTrace:
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
InnerException:
In MagickImage.cpp on line 2015.
Comments: Resolved with changeset 26321: Fixed issue with unsupported ImageFormat.
var emptyBitmap = new Bitmap(100, 100, PixelFormat.Format24bppRgb);
var im = new MagickImage(emptyBitmap);
Result:
System.ArgumentNullException occurred
HResult=-2147467261
Message=Value cannot be null.
Parameter name: encoder
Source=System.Drawing
ParamName=encoder
StackTrace:
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
InnerException:
In MagickImage.cpp on line 2015.
Comments: Resolved with changeset 26321: Fixed issue with unsupported ImageFormat.