Skip to content

Commit

Permalink
Fix bug of Image::setLoops() beiing ignored with imagick
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Oct 6, 2023
1 parent ea79f4b commit 153725e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Drivers/Imagick/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function addFrame(FrameInterface $frame): ImageInterface

public function setLoops(int $count): ImageInterface
{
$this->imagick = $this->imagick->coalesceImages();
$this->imagick->setImageIterations($count);

return $this;
Expand Down

0 comments on commit 153725e

Please sign in to comment.