note 105828 modified in function.imagick-getimagedelay by danbrown

From: Date: Sun, 18 Sep 2011 15:47:34 +0000
Subject: note 105828 modified in function.imagick-getimagedelay by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183256@lists.php.net to get a copy of this message
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; } ?> --was-- Here is how you can get the delay between the frames in gif file: $animation = new Imagick("file.gif"); foreach ($animation as $frame) { $delay = $animation->getImageDelay(); echo $delay; } http://php.net/manual/en/function.imagick-getimagedelay.php

« previous php.notes (#183256) next »