mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
fixed issue with loading transparent images (svg format)
This commit is contained in:
@@ -18,6 +18,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
|
||||
|
||||
try {
|
||||
|
||||
$core->setBackgroundColor(new \ImagickPixel('transparent'));
|
||||
$core->readImage($path);
|
||||
$core->setImageType(\Imagick::IMGTYPE_TRUECOLORMATTE);
|
||||
|
||||
|
Reference in New Issue
Block a user