Just a quick one. I was just wondering, but in order to lay a transparent gradient on a solid color does this need to be done in two separate images, and then combined via composite image?
This is what I was trying to do, something like this but haven't had any luck, so just wondering if it must be done as two separate images and combined instead?
Code: Select all
$gradient->setBackgroundColor(new ImagickPixel('#3a7bd5'));
$gradient->newPseudoImage(100, 100, 'gradient:transparent-#3a6073');