Whaaat another bugfix
This is getting stupid
This commit is contained in:
parent
1a6aa914b6
commit
399a648ed8
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ class ImagickImageManipulator implements IImageManipulator
|
||||||
{
|
{
|
||||||
$image = new \Imagick();
|
$image = new \Imagick();
|
||||||
$image->readImageBlob($source);
|
$image->readImageBlob($source);
|
||||||
$image = $image->coalesceImages();
|
if ($image->getImageFormat() == 'GIF')
|
||||||
|
$image = $image->coalesceImages();
|
||||||
return $image;
|
return $image;
|
||||||
}
|
}
|
||||||
catch (\Exception $e)
|
catch (\Exception $e)
|
||||||
|
|
Loading…
Reference in a new issue