function rotationalBlurImage($image_path, $rotation_angle, $channel)
{
$imagick = new \Imagick(realpath($image_path));
$imagick->rotationalBlurImage($rotation_angle, $channel);
header("Content-Type: image/jpeg");
echo $imagick->getImageBlob();
}