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
Windows magicK freezes converting PDF to PNG
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Windows magicK freezes converting PDF to PNG
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.
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
Re: Windows magicK freezes converting PDF to PNG
I was wondering if the issue might have been ghostscript. The install was from August 2016. I will experiment, and add that result here.