Infinite Loop on Converting PDF Page

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
speedplane
Posts: 2
Joined: 2013-12-01T21:20:20-07:00
Authentication code: 6789

Infinite Loop on Converting PDF Page

Post by speedplane »

To reproduce this bug:
1 - download the PDF at the following location:
https://www.docketalarm.com/cases/PTAB/ ... nload=true
2 - Name the PDF IPR2014-00070_1001.pdf
3 - Run the following command line:
convert -density 300 -quality .5 IPR2014-00070_1001.pdf[0] IPR2014-00070_1001_p0.png

The result is that ImageMagick runs on forever, and never terminates.
speedplane
Posts: 2
Joined: 2013-12-01T21:20:20-07:00
Authentication code: 6789

Re: Infinite Loop on Converting PDF Page

Post by speedplane »

Also, this reproduces on both windows and linux.
Windows Version: ImageMagick 6.8.5-3 2013-04-27 Q16 http://www.imagemagick.org
Linux Version: ImageMagick 6.7.7-10 2012-11-06 Q16 http://www.imagemagick.org
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Infinite Loop on Converting PDF Page

Post by snibgo »

It works for me, IM v6.8.7-0 on Windows 7, with Ghostscript 9.07. On my small laptop it needs 600 MB temporary disk space and takes a couple of minutes. Use "-verbose" to watch the progress.

Adobe Reader complained the file was corrupt. Trying again, it opened successfully. Perhaps the first time, I didn't have enough memory for it.

EDIT: I forgot to say: my conversion was the entire document, ie

Code: Select all

convert -verbose ipr2014.pdf x.png
Converting just one page is much faster.
snibgo's IM pages: im.snibgo.com
Post Reply