JPG file failed to convert with new version of Image Magick

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Piyush
Posts: 5
Joined: 2019-11-28T00:40:11-07:00
Authentication code: 1152

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

Post 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.

User avatar
fmw42
Posts: 26250
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

Please identify your IM version and platform. Also show code that the developers can test and the exact error message.

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

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

Post 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.

Post Reply