Specified cast is not valid for MagickReadSettings properties

May 22, 2014 at 8:31 AM
Using MagickNet Q16 AnyCpu NET4.0 from Visual Studio 2012 VB.NET Windows Forms Project.

Properties of MagickReadSettings all give "Specified cast not valid" when set.

Code like:
    Dim mReadSettings As MagickReadSettings = New MagickReadSettings()
    mReadSettings.Format = MagickFormat.Tif
    mReadSettings.ColorSpace = ColorSpace.RGB
Gives the error on both Format and ColorSpace setters.

Any idea ?
May 22, 2014 at 9:10 AM
This is the same problem as in this issue: https://magick.codeplex.com/workitem/1223. It will be fixed in the next release.