1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +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 {
public function init() {
$this->image = new Imagick();
$this->image->setBackgroundColor(new ImagickPixel('transparent'));
}
public function from() {
try {