Scripts can't access ImageMagick and I am stumped. Advice?

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Can you run ImageMagick from the command line? Type
  • identify -list configure
What does it report? Next, try
  • convert logo: logo.jpg
    convert logo.jpg logo.png
Do these commands work? If so, you're off to a good start. The next thing to check for is where libMagick.so is located. If its located in /usr/local/lib, for example, Gallery/Coppermine may not have that path in its load library path. Also make sure the path to libMagick.so and the ImageMagick configuration file delegates.xml and the ImageMagick coders such as gif.so all have permissions that permit Gallery/Coppermine to access them. Next up add -debug configure to your Gallery/Coppermine convert command line. Run the convert command from the scripts and track the debugging output. Make sure it finds the convert program and if so track the debugging output to see where ImageMagick is looking for its configuration files.

If everything else fails, remove ImageMagick from your computer and grab the latest release, 6.3.0, and build from source. We use these commands:
  • ./configure --enable-delegate-build --enable-shared --disable-static \
    --with-modules --with-quantum-depth=16 --enable-ltdl-convenience \
    --without-wmf --enable-libtool-verbose
    make
    make install
By default ImageMagick in /usr/local. Add --prefix=/usr to the configure script command line if you it installed in the standard locations.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Two different versions of ImageMagick on your system could very well be the source of the problem you are having.
Post Reply