Page 1 of 1

debugging code left in ImageMagick 6.3.7?

Posted: 2011-01-13T14:49:50-07:00
by jeffATwork
I'm using PDFlib 8 to create PDFs and then converting them to PNGs. Almost all the time, things work fine. But occasionally when attempting to convert a very simple (one word of text) PDF, convert complains "Can't handle format 12".

In fact, convert _does_ perform the conversion. But since the return from convert is not 0, my code thinks there has been a failure.

convert 6.3.7 is running on ubuntu 8.04.4 LTS.

Is this a known bug? Didn't find any mention of it when I searched. Is

Re: debugging code left in ImageMagick 6.3.7?

Posted: 2011-01-13T16:17:38-07:00
by magick
We need to reproduce the problem before we can comment. Post a URL to a PDF that fails, and try to determine why its failing.

Re: debugging code left in ImageMagick 6.3.7?

Posted: 2011-01-14T07:56:37-07:00
by jeffATwork
Here https://clients.clockwork.net/jeff/23019_1294951330.pdf is a link. If that doesn't work for you, give me an email address and I'll send it as an attachment.

Thanks!

Re: debugging code left in ImageMagick 6.3.7?

Posted: 2011-01-14T09:14:08-07:00
by magick
Report this problem to the Ghostscript developers. ImageMagick leverages Ghostscript to interpret Postscript and PDF files. If you use Ghostscript directly, it reports the 'Can't handle format 12' exception:
-> gs 23019_1294951330.pdf
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Can't handle format 12
>>showpage, press <return> to continue<<

Re: debugging code left in ImageMagick 6.3.7?

Posted: 2011-01-14T09:18:25-07:00
by jeffATwork
Thanks!
-J