note 95698 added to function.imagick-writeimages
| From: | Malou at osu1 dot php dot net | Date: | Sat, 16 Jan 2010 21:25:11 +0000 |
| Subject: | note 95698 added to function.imagick-writeimages | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165032@lists.php.net to get a copy of this message | ||
As mbrugue sugest, the second parameter can also be use to save an animated gif:
<?php
$anim = new Imagick();
$files = scandir($myFramesPath);
foreach( $files as $f )
{
$auxIMG = new Imagick();
$auxIMG->readImage($mytifspath.$f);
$anim->addImage($auxIMG);
}
//write animated gif
$anim->writeImages('anim.gif', true);
?>
----
Server IP: 66.207.199.35
Probable Submitter: 65.94.81.15
----
Manual Page -- http://www.php.net/manual/en/function.imagick-writeimages.php
Edit -- https://master.php.net/note/edit/95698
Del: integrated -- https://master.php.net/note/delete/95698/integrated
Del: useless -- https://master.php.net/note/delete/95698/useless
Del: bad code -- https://master.php.net/note/delete/95698/bad+code
Del: spam -- https://master.php.net/note/delete/95698/spam
Del: non-english -- https://master.php.net/note/delete/95698/non-english
Del: in docs -- https://master.php.net/note/delete/95698/in+docs
Del: other reasons-- https://master.php.net/note/delete/95698
Reject -- https://master.php.net/note/reject/95698
Search -- https://master.php.net/manage/user-notes.php