I have managed to get imagemagick working (tested using the command line example on their website)
It also appears that the php extension is correctly installed: I can see it listed in my phpinfo(); list.
However, when I try to run the following code:
$im = new imagick( 'examples.jpg' );
$im->thumbnailImage( 200, 0);
$im->writeImage( 'a_thumbnail.jpg' );
The execution stops at the second line, because it cannot find the thumbnailImage method.
What I can think of is that some user doesn't have enough privileges to access/run something else, but I obviously cannot give user access to everything.
Another possibility is that the PHP extension I'm using is not the suitable one for the latest imagemagick distribution.
getImageLength()work on$imat that point? – SmallClanger Apr 21 '11 at 10:40phpinfo(). Once it's loaded, then PHP should have access to all of the functionality, since there's no further file I/O required. It could be that the IIS user doesn't have the rights to, or can't findexamples.jpg, and silently fails to instatiate the object as a result. This could be either a permissions issue or a environment/path problem. – SmallClanger Apr 26 '11 at 8:48