From 153725e4f7ad4715dab53116de848a0c293d0aa7 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Fri, 6 Oct 2023 16:27:02 +0200 Subject: [PATCH] Fix bug of Image::setLoops() beiing ignored with imagick --- src/Drivers/Imagick/Image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Drivers/Imagick/Image.php b/src/Drivers/Imagick/Image.php index 03f2743ab..4dc8ca6a5 100644 --- a/src/Drivers/Imagick/Image.php +++ b/src/Drivers/Imagick/Image.php @@ -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;