I am new to this so be kind . I am trying to use Imagick and am having some serious problems with it.
This is the error I am getting when I try to run the PHP file:
Code: Select all
Could not load image: Wand contains no images `MagickWand-1' @ magick-image.c/MagickSetImageFilename/9626
Code: Select all
/* Read the image */
$im = new imagick();
try {
$im->readImage("lib/images/about.png");
} catch (ImagickException $e) {
//$im->free();
echo 'Could not load image: '.$e->getMessage();
exit;
}
Code: Select all
Path: /usr/local/lib/ImageMagick-6.5.5/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontconfig=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-xml=no
EXEC-PREFIX /usr/local
HOST x86_64-unknown-linux-gnu
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x655
LIB_VERSION_NUMBER 6,5,5,0
LIBS -lMagickCore -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2009-08-22
VERSION 6.5.5
WEBSITE http://www.imagemagick.org
convert logo: logo.miff
identify logo.*
Code: Select all
logo.gif GIF 640x480 640x480+0+0 8-bit PseudoClass 256c 37.4kb
logo.miff[1] MIFF 640x480 640x480+0+0 8-bit Palette PseudoClass 256c 301kb
Many thanks in advance.
Cheers,
Ash