convert jpg to pdf 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
muantariclo

convert jpg to pdf problem

Post by muantariclo »

hi,
using Kubuntu 8.04 I'am trying to convert a jpg directory into a pdf file using the convert command

Code: Select all

convert *.jpg  allinone.pdf
on the terminal, but I keep getting

Code: Select all

convert: NoDecodeDelegateForThisImageFormat
for every image in the directory and

Code: Select all

convert: MissingAnImageFilename `allinone.pdf' @ convert.c/ConvertImageCommand/2772
at the end of the command line. I've also tried it running as root but I keep getting the same message. I've GhostScript installed and I'am guessing my problem has something to do with the paths ImageMagick uses to complete the task, but I don't know for sure nor how to fix it.

what should I do?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert jpg to pdf problem

Post by magick »

ImageMagick does not appear to be installed properly on your system or the paths have permission problems. Type
  • convert -debug configure logo: logo.pnm
Look at the bugging output for where ImageMagick is looking for its configuration files and modules. Does the path exist? Are the permissions set properly for each part of the path?
muantariclo

Re: convert jpg to pdf problem

Post by muantariclo »

thank you for answering so quickly. I've typed convert -debug configure logo: logo.pnm and the output says:

convert: UnableToOpenBlob `logo:': No such file or directory @ blob.c/OpenBlob/2489.
convert: MissingAnImageFilename `logo.pnm' @ convert.c/ConvertImageCommand/2772.

I don't know how to solve this
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert jpg to pdf problem

Post by anthony »

It is definatally not installed correctly. At a minimum the 'coders' are not installed.

I would remove the software completely, and re-install
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply