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
debugging code left in ImageMagick 6.3.7?
-
- Posts: 30
- Joined: 2009-01-02T14:14:45-07:00
- Location: Minneapolis, MN
Re: debugging code left in ImageMagick 6.3.7?
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.
-
- Posts: 30
- Joined: 2009-01-02T14:14:45-07:00
- Location: Minneapolis, MN
Re: debugging code left in ImageMagick 6.3.7?
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!
Thanks!
Re: debugging code left in ImageMagick 6.3.7?
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<<
-
- Posts: 30
- Joined: 2009-01-02T14:14:45-07:00
- Location: Minneapolis, MN