Can not convert a JPG to PDF

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
oddball508

Can not convert a JPG to PDF

Post by oddball508 »

I have been succesfully converting JPG files to PDF file untill recently. Now all I get is PDF file with a blank page. I have upgraded (and down graded) ImageMagick.

Currently I'm on IM 6.4.8.9-Q8 and GS863w32.

The command line I'm using is a very simple "convert image.jpg image.pdf". No error messages, just a blank page.

Any ideas? I can provide a sample file.

John
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Can not convert a JPG to PDF

Post by fmw42 »

oddball508 wrote:I have been succesfully converting JPG files to PDF file untill recently. Now all I get is PDF file with a blank page. I have upgraded (and down graded) ImageMagick.

Currently I'm on IM 6.4.8.9-Q8 and GS863w32.

The command line I'm using is a very simple "convert image.jpg image.pdf". No error messages, just a blank page.

Any ideas? I can provide a sample file.

John

Does

convert -list configure

show gs in the DELEGATES line?

If not, you need to install Ghostscript.
oddball508

Re: Can not convert a JPG to PDF

Post by oddball508 »

I did have GS load - thanks

The answer was in the JPG files. The creators of these JPG files where failing to include metadata. Don't knoe why that makes a difference, but it did.
Post Reply