diff --git a/src/Drivers/Gd/Cloner.php b/src/Drivers/Gd/Cloner.php index 8edc2023..d29d9add 100644 --- a/src/Drivers/Gd/Cloner.php +++ b/src/Drivers/Gd/Cloner.php @@ -67,6 +67,10 @@ public static function cloneEmpty( imagealphablending($clone, true); imagesavealpha($clone, true); + if ($background->isClear()) { + imagecolortransparent($clone, $processor->colorToNative($background)); + } + return $clone; }