diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-22 20:45:09 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-22 20:45:09 +1000 |
| commit | 101530151a0f482fc08b7d37fbc0a19d73d96612 (patch) | |
| tree | e6806a5af42c8d2b1ed9a3d7e6c0099a83fe3c17 /inc/image.php | |
| parent | ecb42bcc6d1b36d72d17854d2ac68523b72a590d (diff) | |
transparent background on SVG and other iamge formats
Diffstat (limited to 'inc/image.php')
| -rw-r--r-- | inc/image.php | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
