mirror of
https://github.com/Intervention/image.git
synced 2025-08-27 07:44:30 +02:00
Fix bug of Image::setLoops() beiing ignored with imagick
This commit is contained in:
@@ -57,6 +57,7 @@ class Image extends AbstractImage implements ImageInterface, Iterator
|
|||||||
|
|
||||||
public function setLoops(int $count): ImageInterface
|
public function setLoops(int $count): ImageInterface
|
||||||
{
|
{
|
||||||
|
$this->imagick = $this->imagick->coalesceImages();
|
||||||
$this->imagick->setImageIterations($count);
|
$this->imagick->setImageIterations($count);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Reference in New Issue
Block a user