Imagick::animateImages

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

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 1 note

up
0
gomadurai at gmail dot com
14 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);

?>
To Top