note 96841 deleted from function.imagick-optimizeimagelayers by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Mar 2010 15:30:13 +0000 |
| Subject: | note 96841 deleted from function.imagick-optimizeimagelayers by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-167209@lists.php.net to get a copy of this message | ||
Note Submitter: Sofialys
----
Actually, this does not return a bool but an Imagick object instead.
The given example should be:
<?php
$im = new Imagick("test.gif");
$optimizedImage = $im->optimizeImageLayers();
$im->destroy();
$optimizedImage->writeImages("test_optimized.gif", true);
$optimizedImage->destroy();
?>