Imagick->setImageFormat()

From: Date: Thu, 29 Jan 2009 22:20:19 +0000
Subject: Imagick->setImageFormat()
Groups: php.general 
Request: Send a blank email to php-general+get-287379@lists.php.net to get a copy of this message
Hello all. I'm pretty new to Imagick. I'm merely attempting the examples on the PHP site (http://php.net/manual/en/imagick.examples-1.php), but I'm having some issues. I'm attempting the reflection of an image example and when I attempt to: $canvas->setImageFormat("png"); I get an error that reads: Fatal error: Uncaught exception 'ImagickException' in /home/www/pc4/image.php:67 Stack trace: #0 /home/www/pc4/image.php(67): Imagick-
setimageformat('png') #1 {main} thrown in /home/www/pc4/image.php on line 67
Note that I CAN do this: $canvas->setImageFormat("gif"); I'm running Fedora Core 8. My first thought was that my machine doesn't support PNG. So I checked for libpng, and it's there and up to date. I've looked at my http error logs and I've google'd to no avail. Do you have any thoughts on why I can't use the "png" format? Thanks in advance, ~Philip

« previous php.general (#287379) next »