note 105827 deleted from function.imagick-getimagedelay by danbrown
| From: | danbrown@php.net | Date: | Sun, 18 Sep 2011 15:47:17 +0000 |
| Subject: | note 105827 deleted from function.imagick-getimagedelay by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183255@lists.php.net to get a copy of this message | ||
Note Submitter: jabaga at abv dot bg*
----
Here is how you can get the frame delay:
$animation = new Imagick("file.gif");
foreach ($animation as $frame) {
$delay = $animation->getImageDelay();
echo $delay;
}