1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 00:29:55 +02:00

Merge pull request #818 from chellmann/master

Transparent Background for Images read from Blob
This commit is contained in:
Oliver Vogel
2018-05-25 15:35:15 +02:00
committed by GitHub

View File

@@ -79,6 +79,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
$core = new \Imagick; $core = new \Imagick;
try { try {
$core->setBackgroundColor(new \ImagickPixel('transparent'));
$core->readImageBlob($binary); $core->readImageBlob($binary);