diff --git a/src/Services/ImageManipulation/ImagickImageManipulator.php b/src/Services/ImageManipulation/ImagickImageManipulator.php index 16fcf09a..da530cfa 100644 --- a/src/Services/ImageManipulation/ImagickImageManipulator.php +++ b/src/Services/ImageManipulation/ImagickImageManipulator.php @@ -47,7 +47,6 @@ class ImagickImageManipulator implements IImageManipulator $matte = new \Imagick(); $matte->newImage($imageResource->getImageWidth(), $imageResource->getImageHeight(), 'white'); $matte->compositeimage($imageResource, \Imagick::COMPOSITE_OVER, 0, 0); - $imageResource->destroy(); $imageResource = $matte; $imageResource->setImageFormat('jpeg'); break;