Imagick::getImageDelay

(PECL imagick 2.0.0)

Imagick::getImageDelayGets the image delay

Описание

int Imagick::getImageDelay ( void )

Gets the image delay.

Возвращаемые значения

Returns the image delay.

Ошибки

Вызывает ImagickException при ошибке.

Коментарии

Here is how you can get the delay between the frames in gif file:

<?php
$animation 
= new Imagick("file.gif");

foreach (
$animation as $frame) {
 
$delay $animation->getImageDelay();

echo 
$delay;
}
?>
2011-09-18 11:31:46
http://php5.kiev.ua/manual/ru/imagick.getimagedelay.html
Seems to return the image delay in centiseconds
2015-01-25 03:27:12
http://php5.kiev.ua/manual/ru/imagick.getimagedelay.html

    Поддержать сайт на родительском проекте КГБ