1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-02 19:17:21 +01:00

transparent background on SVG and other iamge formats

This commit is contained in:
Savetheinternet 2011-07-22 20:45:09 +10:00
parent ecb42bcc6d
commit 101530151a

View File

@ -140,6 +140,7 @@
class ImageImagick extends ImageBase { class ImageImagick extends ImageBase {
public function init() { public function init() {
$this->image = new Imagick(); $this->image = new Imagick();
$this->image->setBackgroundColor(new ImagickPixel('transparent'));
} }
public function from() { public function from() {
try { try {