Alright, since a lot of people on here know what they are doing and I don't, I have come to ask for help once again! I am trying to mess around with Mogrify and not sure how to set it up. So Far I have this
<?php
$mogrify = "/usr/bin/mogrify";
$res = shell_exec("whereis mogrify");
echo $res;
exec($mogrify . " -convert -size 150x100 gradient:grey70-grey30 grey_range.jpg");
exec($mogrify . " -convert grey_range.jpg -normalize grey_norm.jpg");
?>
I am not sure of where Mogrify lays on my hosts this is what 'whereis mogrify' outputs.
mogrify: /usr/src/ImageMagick-4.2.9/mogrify.c /usr/src/ImageMagick-4.2.9/mogrify.1 /usr/bin/mogrify /usr/share/man/man1/mogrify.1.gz
So I assume its the '/usr/bin/mogrify' one. But it doesn't output anything on the convert strings.. Any suggestions?