Imagick->setImageFormat()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux