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

search for in the

Imagick::getImageDepth> <Imagick::getImageCompressionQuality
[edit] Last updated: Fri, 24 May 2013

view this page in

Imagick::getImageDelay

(PECL imagick 2.0.0)

Imagick::getImageDelayObtiene el retraso de la imagen

Descripción

int Imagick::getImageDelay ( void )

Obtiene el retraso de la imagen.

Valores devueltos

Devuelve el retraso de la imagen.

Errores/Excepciones

Lanza ImagickException en caso de error.



add a note add a note User Contributed Notes Imagick::getImageDelay - [1 notes]
up
0
jabaga at abv dot bg
1 year ago
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;
}
?>

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