Skip to content

Commit

Permalink
Fix bug in Driver::createAnimation()
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Dec 30, 2024
1 parent fcb25ff commit 7df4d65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ $encoded = $image->toJpg();
$encoded->save('images/example.jpg');
```

## Feature Status

| Feature | Status |
| - | - |
| ImageManager::read() ||
| ImageManager::create() ||
| ImageManager::animate() ||


## Contributing
Check out the [documentation](https://github.com/Intervention/image/blob/develop/CONTRIBUTING.md)
```bash
Expand Down
2 changes: 1 addition & 1 deletion src/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function __invoke(): ImageInterface
$delay = [];

foreach ($this->frames as $frame) {
$delay = array_merge($delay, $frame->native()->get('delay'));
$delay[] = intval($frame->delay() * 1000);
$frames[] = $frame->native();
}

Expand Down

0 comments on commit 7df4d65

Please sign in to comment.