I am moving to a new hosting company that will not allow me to exec a convert
command for ImageMagick. So I now have to attempt to do it through straight PHP. I have spent quite a bit of time trying to figure it out and every where that I look, people recommend using the convert
command like I am. I would appreciate any help or guidance in writing the following commands in straight PHP.
# Applies overlay $filter_image to the original $image
convert $image ( -clone 0 -alpha off $filter_image -compose SoftLight -composite ) -compose SrcIn -composite $output_image
and
# Apply a blur to an image
convert $image -blur 0x$blur_radius $output_image
UPDATE:
I have figured out the syntax and posted it as an answer.