Hello I'm using next code and have some exceptions. This file generates by Aspose library. There are many another files that generated by Aspose libray and everything is okay. But this one doesn't work. On every time when Aspose generates new file it can't be read with MagickImage. Could you please help me? Thanks.
Read Exception
This file here:
http://1drv.ms/1pnuGfF
using (var collection = new MagickImageCollection())
{
try
{
var t = new MagickImage(Path.Combine(Directory.GetCurrentDirectory(), "Templates","1.png"));
}
catch (Exception ex)
{
Console.Write(ex.Message);
}
}
Exception:Read Exception
D:\PROJECTS STUDY\C#\MagickNETTester\MagickNETTester\bin\Debug\Templates\1.png' @ error/png.c/MagickPNGErrorHandler/1650
Corrupt image
D:\PROJECTS STUDY\C#\MagickNETTester\MagickNETTester\bin\Debug\Templates\1.png' @ error/png.c/ReadPNGImage/4020![Image]This file here:
http://1drv.ms/1pnuGfF