Reputation: 21
here is my code:
<?php
error_reporting(E_ALL) ;
$orig = "original.jpg";
$out = "output.jpg";
$cmd = "-sepia-tone 90%";
exec("/usr/bin/convert $orig $cmd $out ");
?>
After I run this, I expected a sepia toned version of original.jpg named output.jpg. when I check the directory, output.jpg doesnt exist.
What am I missing?
Upvotes: 1
Views: 362