mirror of
https://github.com/Intervention/image.git
synced 2025-08-28 16:19:50 +02:00
Merge pull request #818 from chellmann/master
Transparent Background for Images read from Blob
This commit is contained in:
@@ -79,6 +79,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
|
||||
$core = new \Imagick;
|
||||
|
||||
try {
|
||||
$core->setBackgroundColor(new \ImagickPixel('transparent'));
|
||||
|
||||
$core->readImageBlob($binary);
|
||||
|
||||
|
Reference in New Issue
Block a user