Whaaat another bugfix

This is getting stupid
This commit is contained in:
Marcin Kurczewski 2014-11-11 18:17:53 +01:00
parent 1a6aa914b6
commit 399a648ed8

View file

@ -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)