downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::annotateImage> <Imagick::affineTransformImage
[edit] Last updated: Fri, 24 May 2013

view this page in

Imagick::animateImages

(No version information available, might only be in SVN)

Imagick::animateImagesAnimates an image or images

说明

bool Imagick::animateImages ( string $x_server )

This method animates the image onto a local or remote X server. This method is not available on Windows. 此方法在Imagick基于ImageMagick 6.3.6以上版本编译时可用。

参数

x_server

X server address

返回值

成功时返回 TRUE

参见



add a note add a note User Contributed Notes Imagick::animateImages - [1 notes]
up
0
gomadurai at gmail dot com
3 years ago
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);

?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites