transparent background on SVG and other iamge formats
This commit is contained in:
1 parent
ecb42bcc6d
commit
101530151a
1 file changed
+1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user