1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +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 beff04d67e
commit 05e7ee172c

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 {