Pdf to png conversion problem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ss3288
Posts: 4
Joined: 2013-03-22T09:38:06-07:00
Authentication code: 6789

Pdf to png conversion problem

Post by ss3288 »

Hi,

I have a active pdf version 1.7, Adobe Extension Level 3 ( acrobat 9.x ) created using Adobe livecycle Designer ES 8.2.

When i try to convert this pdf to image (png/jpg ), conversion succeeds but the image file has the following text instead of the pdf image

"To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade
to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html
For further support, go to www.adobe.com/support/products/acrreader.html"

How can i convert active pdfs to image using image magick? can you please help ?
ss3288
Posts: 4
Joined: 2013-03-22T09:38:06-07:00
Authentication code: 6789

Re: Pdf to png conversion problem

Post by ss3288 »

Here is the sample pdf. Download the pdf to view the contents. Not viewable in the browser.

https://docs.google.com/file/d/0ByVNBVU ... sp=sharing
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Pdf to png conversion problem

Post by fmw42 »

IM relies upon Ghostscript to read pdf files. I suspect Ghostscript cannot handle this new format pdf.

When I try your command on your pdf, I get


convert test.pdf test.jpg
convert: unable to load module `/usr/local/lib/ImageMagick-6.8.3//modules-Q16/coders/pdf.la': file not found @ error/module.c/OpenModule/1277.
convert: no decode delegate for this image format `test.pdf' @ error/constitute.c/ReadImage/550.
convert: no images defined `test.jpg' @ error/convert.c/ConvertImageCommand/3085.

However, with other pdf files it converts fine.

I suggest you post this problem to the developers forum and see what they say.
Post Reply