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

Transparent Background for Images read from Blob

This commit is contained in:
chellmann
2017-12-23 22:27:34 +01:00
parent a54d1e9e6a
commit 4940a25e96

View File

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