Yes, i am using Latest version of MagickImage (i.e. Magick.NET-6.8.9.101-Q16-AnyCPU-net40-client.zip). ToBitmap() returns the error like i described in my initial thread. Also, i have tried writing the images collection to Memory stream and then generate the bitmap, in that case also the same error occurs.
Here is the sample code which i have tried out as well along with rest of the code.
Kindly suggest !!
Here is the sample code which i have tried out as well along with rest of the code.
Dim MS AsNew MemoryStream() Using images AsNew ImageMagick.MagickImageCollection(FilePath) images.Write(MS) EndUsingDim InBitMap AsNew Bitmap(MS)