1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-27 15:50:09 +02:00

Fix bug of Image::setLoops() beiing ignored with imagick

This commit is contained in:
Oliver Vogel
2023-10-06 16:27:02 +02:00
parent ea79f4b669
commit 153725e4f7

View File

@@ -57,6 +57,7 @@ class Image extends AbstractImage implements ImageInterface, Iterator
public function setLoops(int $count): ImageInterface
{
$this->imagick = $this->imagick->coalesceImages();
$this->imagick->setImageIterations($count);
return $this;