note 92912 added to function.imagick-animateimages
| From: | gomadurai at gmail dot com | Date: | Fri, 14 Aug 2009 10:31:53 +0000 |
| Subject: | note 92912 added to function.imagick-animateimages | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159473@lists.php.net to get a copy of this message | ||
Below eg shows how to create animated gif
<?php
$multiTIFF = new Imagick();
$mytifspath = "./man"; // your image directory
$files = scandir($mytifspath);
//print_r($files);
/*foreach( $files as $f )
{*/
for($i=2;$i<6;$i++)
{
echo $files[$i];
echo "<br>";
$auxIMG = new Imagick();
$auxIMG->readImage($mytifspath."/".$files[$i]);
$multiTIFF->addImage($auxIMG);
}
//file multi.TIF
$multiTIFF->writeImages('multi423432.gif', true); // combine all image into one single
image
//files multi-0.TIF, multi-1.TIF, ...
$multiTIFF->writeImages('multi.gif', false);
?>
----
Server IP: 64.71.164.2
Probable Submitter: 119.82.113.66
----
Manual Page -- http://www.php.net/manual/en/function.imagick-animateimages.php
Edit -- https://master.php.net/note/edit/92912
Del: integrated -- https://master.php.net/note/delete/92912/integrated
Del: useless -- https://master.php.net/note/delete/92912/useless
Del: bad code -- https://master.php.net/note/delete/92912/bad+code
Del: spam -- https://master.php.net/note/delete/92912/spam
Del: non-english -- https://master.php.net/note/delete/92912/non-english
Del: in docs -- https://master.php.net/note/delete/92912/in+docs
Del: other reasons-- https://master.php.net/note/delete/92912
Reject -- https://master.php.net/note/reject/92912
Search -- https://master.php.net/manage/user-notes.php