Page 3 of 3

Re: JPG file failed to convert with new version of Image Magick

Posted: 2019-12-02T22:48:14-07:00
by Piyush
What exception you guys are getting while using C++ API. As I am getting Access violation exception when it is going to convert blob data to image.
One more point is there any chance we are getting the exception with EPS files too.
As I am getting with JPEG and EPS files both.

Re: JPG file failed to convert with new version of Image Magick

Posted: 2019-12-03T10:46:36-07:00
by fmw42
Please identify your IM version and platform. Also show code that the developers can test and the exact error message.

Re: JPG file failed to convert with new version of Image Magick

Posted: 2019-12-04T04:37:19-07:00
by Piyush
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

Platform -> Windows 10

The code snippet is as

mImage_p = new Magick::Image( mBlob );
When it is going to create image instance by blob data the program gets crashed in the above line only.
in Imgae() API it reads blob data and finally calls BlobToImage() API which converts blob to image.