cant run Fred scripts
Posted: 2013-11-16T17:15:14-07:00
hello!
i try to run http://www.fmwconcepts.com/imagemagick/ ... /index.php script
USAGE: peelingpaint [-m mode] [-s strength] [-g gain] infile texture outfile
my example :
<?
$run="sh/peelingpaint.sh -m scratches -s 130 -g 75 infile.jpg sh/mask1.jpg outfile.jpg 2>&1";
$run = exec($ln,$out,$err);
?>
after trying and i have :
Array ( [0] => [1] => --- UNKNOWN OPTION --- [2] => [3] => [4] => peelingpaint.sh: [5] => [6] => USAGE: peelingpaint [-m mode] [-s strength] [-g gain] infile texture outfile [7] => USAGE: peelingpaint [-h or -help] [8] => [9] => OPTIONS: [10] => [11] => -m mode mode for output; choices are: cracks (c) or scratches (s); [12] => default=cracks [13] => -s strength strength (darkness) of cracks; integer>=0; default=100 [14] => -g gain gain applied by composite mask; integer>=0; default=75 [15] => )
where error?
i try to run http://www.fmwconcepts.com/imagemagick/ ... /index.php script
USAGE: peelingpaint [-m mode] [-s strength] [-g gain] infile texture outfile
my example :
<?
$run="sh/peelingpaint.sh -m scratches -s 130 -g 75 infile.jpg sh/mask1.jpg outfile.jpg 2>&1";
$run = exec($ln,$out,$err);
?>
after trying and i have :
Array ( [0] => [1] => --- UNKNOWN OPTION --- [2] => [3] => [4] => peelingpaint.sh: [5] => [6] => USAGE: peelingpaint [-m mode] [-s strength] [-g gain] infile texture outfile [7] => USAGE: peelingpaint [-h or -help] [8] => [9] => OPTIONS: [10] => [11] => -m mode mode for output; choices are: cracks (c) or scratches (s); [12] => default=cracks [13] => -s strength strength (darkness) of cracks; integer>=0; default=100 [14] => -g gain gain applied by composite mask; integer>=0; default=75 [15] => )
where error?