Skip to content

Commit

Permalink
Transparent Background for Images read from Blob
Browse files Browse the repository at this point in the history
  • Loading branch information
chellmann authored and chellmann committed Dec 23, 2017
1 parent a54d1e9 commit 4940a25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Intervention/Image/Imagick/Decoder.php
Expand Up @@ -79,6 +79,7 @@ public function initFromBinary($binary)
$core = new \Imagick;

try {
$core->setBackgroundColor(new \ImagickPixel('transparent'));

$core->readImageBlob($binary);

Expand Down

0 comments on commit 4940a25

Please sign in to comment.