Is there any way to get the blending to extend into the transparent background - or at least another method to achieve this visual result?
Here is a sample of code:
Code: Select all
// Does Not Blur Into Background
$new = new Imagick();
$new->newImage($width,$height,'transparent','png');
$new->compositeImage($original_image, Imagick::COMPOSITE_DEFAULT, $buffer_w, $buffer_h);
$new->motionBlurImage($radius,$sigma,180);
$new->motionBlurImage($radius,$sigma,360);
// Does Blur Into Background
$new = new Imagick();
$new->newImage($width,$height,'transparent','png');
$new->compositeImage($original_image, Imagick::COMPOSITE_DEFAULT, $buffer_w, $buffer_h);
$new->motionBlurImage($radius,$sigma,180);
$new->motionBlurImage($radius,$sigma,360);