transparent background on SVG and other iamge formats
This commit is contained in:
parent
ecb42bcc6d
commit
101530151a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user