From 4878b6003e5c0d539c876a438f6513d3554af9ad Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Tue, 13 May 2014 18:32:49 +0200 Subject: [PATCH] fix --- src/Intervention/Image/Imagick/Commands/MaskCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Imagick/Commands/MaskCommand.php b/src/Intervention/Image/Imagick/Commands/MaskCommand.php index 9a26f35a..2ba7092a 100644 --- a/src/Intervention/Image/Imagick/Commands/MaskCommand.php +++ b/src/Intervention/Image/Imagick/Commands/MaskCommand.php @@ -37,7 +37,7 @@ class MaskCommand extends \Intervention\Image\Commands\AbstractCommand // use red channel from mask ask alpha $mask_alpha = clone $mask->getCore(); $mask_alpha->compositeImage($mask->getCore(), \Imagick::COMPOSITE_DEFAULT, 0, 0); - $mask_alpha->setImageAlphaChannel(\Imagick::ALPHACHANNEL_DEACTIVATE); + // $mask_alpha->setImageAlphaChannel(\Imagick::ALPHACHANNEL_DEACTIVATE); $mask_alpha->separateImageChannel(\Imagick::CHANNEL_ALL); // combine both alphas from original and mask