Windows magicK freezes converting PDF to PNG

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.
Post Reply
vbaker
Posts: 2
Joined: 2016-10-26T14:00:15-07:00
Authentication code: 1151

Windows magicK freezes converting PDF to PNG

Post by vbaker »

I had an odd file which refused to convert a PDF. It got stuck in an endless loop, halting any output to PNG. For what ever reason, something in the PDF refused to convert. eg:

"C:\Program Files\ImageMagick-7.0.2-Q16\magick" -density 150 "se\plans\YARD.PDF" -trim -quality 100 "se\plans\YARD.png"
:: ... Never returns

I got around this problem but using Nitro Reader 3 basic to open the file and "Save As" a "Flattened" PDF. That got me passed the conversion issue.

This post includes a few words that I tried searching for looking for a solution
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Windows magicK freezes converting PDF to PNG

Post by snibgo »

Where is the endless loop? "-verbose -debug all" may tell you. My guess would be Ghostscript.

What version Ghostscript do you have? If not current, I suggest you upgrade and see if that solves it.
snibgo's IM pages: im.snibgo.com
vbaker
Posts: 2
Joined: 2016-10-26T14:00:15-07:00
Authentication code: 1151

Re: Windows magicK freezes converting PDF to PNG

Post by vbaker »

I was wondering if the issue might have been ghostscript. The install was from August 2016. I will experiment, and add that result here.
Post Reply