mirror of
https://github.com/Intervention/image.git
synced 2025-02-07 14:20:37 +01:00
fixed issue with loading transparent images (svg format)
This commit is contained in:
parent
6886d43f5b
commit
45a41a38bd
@ -18,6 +18,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
|
||||
|
||||
try {
|
||||
|
||||
$core->setBackgroundColor(new \ImagickPixel('transparent'));
|
||||
$core->readImage($path);
|
||||
$core->setImageType(\Imagick::IMGTYPE_TRUECOLORMATTE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user