ImageMagick has stopped working

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.
shoansa
Posts: 13
Joined: 2017-07-18T00:12:17-07:00
Authentication code: 1151

Re: ImageMagick has stopped working

Post by shoansa » 2019-07-18T05:57:37-07:00

I have same issue for .ai to PNG conversion in below scenario.

convert -density 300 input.ai[0] -resize 1024x1024 output.png = Crash
convert input.ai[0] output.png = Crash
convert -density 600 input.ai[0] -resize 1024x1024 output.png = Generated
convert input.ai output.png = Generated

ImageMagick gets crashed whenever I use page indexing parameter "[0]". Below are the details and system info.

Windows 7 64bit
ImageMagick-6.9.1-Q16-HDRI

AI File URL: https://drive.google.com/file/d/1R0HyAJ ... sp=sharing

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

Re: ImageMagick has stopped working

Post by snibgo » 2019-07-18T06:53:11-07:00

IM delegates the rasterization of AI files to Ghostscript. What version of GS do you have? There are problems with recent versions.
snibgo's IM pages: im.snibgo.com

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

Re: ImageMagick has stopped working

Post by fmw42 » 2019-07-18T08:47:28-07:00

I have heard reports of issue with both GS 9.26 and 9.27. I suggest you try 9.23, 9.24, or 9.25

shoansa
Posts: 13
Joined: 2017-07-18T00:12:17-07:00
Authentication code: 1151

Re: ImageMagick has stopped working

Post by shoansa » 2019-07-18T21:40:43-07:00

snibgo and Fred, thanks for your quick response.

I am using "gs9.26" version of Ghostscript.

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

Re: ImageMagick has stopped working

Post by fmw42 » 2019-07-18T22:08:19-07:00

Try downgrading as suggested. Also your Imagemagick version is rather old. You should upgrade that if you can. Also check your version of libpng.

Your file converts fine for me on IM 6.9.10.54 Q16.

Code: Select all

convert test.ai test.png

Post Reply