Page 1 of 1

Windows magicK freezes converting PDF to PNG

Posted: 2016-10-26T14:06:54-07:00
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

Re: Windows magicK freezes converting PDF to PNG

Posted: 2016-10-26T14:23:08-07:00
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.

Re: Windows magicK freezes converting PDF to PNG

Posted: 2016-10-26T14:30:53-07:00
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.