Error: ReadImages

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
devyekov
Posts: 19
Joined: 2014-12-01T08:16:19-07:00
Authentication code: 6789

Error: ReadImages

Post by devyekov » 2014-12-01T09:16:35-07:00

Hello

They could guide me in error please

Message = "External component has thrown an exception."
StackTrace = "at Magick.throwException(_ExceptionInfo* )\r\n at Magick.readImages<class std::list<class Magick::Image,class std::allocator<class Magick::Image> > >(list<Magick::Image\\,std::allocator<Magick::Image> >* sequence_, basic_string<char\\,std::char_traits...


This happens in
Visual Studio 2008 C#
But in Visual Studio 2008 VB works correctly.

Code

Code: Select all

	ImageMagickNET.MagickNet.InitializeMagick(Application.StartupPath);
	ImageMagickNET.ImageList imagelist = new ImageMagickNET.ImageList();
	imagelist.ReadImages(@"[PATH]\IMAGE.jpg"); // Error
I am leading the demo project

http://www.codeproject.com/Articles/178 ... -in-VB-NET

Regards

User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error: ReadImages

Post by dlemstra » 2014-12-01T10:29:57-07:00

You are using an old .NET wrapper. I would suggest you to switch to the new wrapper I created. You can find that here: http://magick.codeplex.com
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

devyekov
Posts: 19
Joined: 2014-12-01T08:16:19-07:00
Authentication code: 6789

Re: Error: ReadImages

Post by devyekov » 2014-12-01T11:11:56-07:00

Firstly I appreciate the prompt response. This that you suggest me, was the first option that I did. However, it did not work me or I not know to how use it. Displays the following message

"This project cannot be viewed in the object browser because it is unavailable or not yet build. Please ensure that the project is available and built."

Perhaps the library requires the recent framework of Visual Studio, but I have to work on
Visual Studio 2008
C# Framework 2 | 3.5

Thanks
Regards

devyekov
Posts: 19
Joined: 2014-12-01T08:16:19-07:00
Authentication code: 6789

Re: Error: ReadImages

Post by devyekov » 2014-12-01T11:49:06-07:00

Thank you very much. Only I had that to use Magick.NET-7.0.0.0007-Q16-x64-net20

Regards

Post Reply