With imagemagick version 7.0.8 getting exception in C++ code

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Piyush
Posts: 5
Joined: 2019-11-28T00:40:11-07:00
Authentication code: 1152

With imagemagick version 7.0.8 getting exception in C++ code

Post by Piyush » 2019-11-28T00:50:05-07:00

I have updated imagemagick version 7.0.8 and while I am going to open any .eps image file I am getting access violation exception. While the same image is being opened and working fine with 7.0.2.

Please help me in that.

snibgo
Posts: 12432
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: With imagemagick version 7.0.8 getting exception in C++ code

Post by snibgo » 2019-11-28T00:53:15-07:00

Please paste the exact error message.

What does "magick -version" say?
snibgo's IM pages: im.snibgo.com

Piyush
Posts: 5
Joined: 2019-11-28T00:40:11-07:00
Authentication code: 1152

Re: With imagemagick version 7.0.8 getting exception in C++ code

Post by Piyush » 2019-11-28T01:14:54-07:00

D:\Users\Piyush.Mahendra>magick -version
Version: ImageMagick 7.0.8-37 Q16 x86 2019-04-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib


The exact error is as follows:

Project graphicsbrowser.exe raised exception class $C0000005 with message 'access violation at 0x77397c42: read of address 0x00000000'.
actually graphicsbrowser.exe is my project which is using imagemagick api's.

I am getting error on line
mImage_p = new Magick::Image( mBlob );
while creating image instance.

snibgo
Posts: 12432
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: With imagemagick version 7.0.8 getting exception in C++ code

Post by snibgo » 2019-11-28T01:28:23-07:00

I suspect graphicsbrowser.exe has a bug.
snibgo's IM pages: im.snibgo.com

Piyush
Posts: 5
Joined: 2019-11-28T00:40:11-07:00
Authentication code: 1152

Re: With imagemagick version 7.0.8 getting exception in C++ code

Post by Piyush » 2019-11-29T01:52:54-07:00

But same graphicsbrowser code is working fine with imagemagick 7.0.2 version. When I am going to call imagemagick API BlobToImage() the exception is coming.

Post Reply