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, 17 May 2013

view this page in

Imagick::getImageDelay

(PECL imagick 2.0.0)

Imagick::getImageDelayGets the image delay

Beschreibung

int Imagick::getImageDelay ( void )

Gets the image delay.

Rückgabewerte

Returns the image delay.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.



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