|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-08-30 12:23 UTC] mkoppanen@php.net
[2010-08-30 12:24 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
Description: ------------ When using opacity, it seems to work ok, until I use roundCorners, once I do this, what should be transparent, goes black Reproduce code: --------------- <?php $im = new Imagick(); $im->newImage(400,400,new ImagickPixel('green'), 'png'); $im->roundCorners(50,50); $im->setImageOpacity(0.5); header('Content-Type: image/' . $im->getImageFormat()); echo $im->getImageBlob(); Expected result: ---------------- Outside of the green section should be transparent Actual result: -------------- Outside of the green has gone black