From 101530151a0f482fc08b7d37fbc0a19d73d96612 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 22 Jul 2011 20:45:09 +1000 Subject: [PATCH] transparent background on SVG and other iamge formats --- inc/image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/image.php b/inc/image.php index b4226022..6c5733b3 100644 --- a/inc/image.php +++ b/inc/image.php @@ -140,6 +140,7 @@ class ImageImagick extends ImageBase { public function init() { $this->image = new Imagick(); + $this->image->setBackgroundColor(new ImagickPixel('transparent')); } public function from() { try {