Code: Select all
3Dcover -s "10%" a.jpg b.jpg
Code: Select all
3Dcover -s 10 a.jpg b.jpg
Also tried enclosing it in parenthesis.
Many thanks for the help and for Fred for developing the script
Code: Select all
3Dcover -s "10%" a.jpg b.jpg
Code: Select all
3Dcover -s 10 a.jpg b.jpg
Code: Select all
3Dcover -s 20 wedding.jpg result.jpg
Code: Select all
3Dcover -s 20 wedding.jpg result.jpg 2>&1
Code: Select all
<?php
exec("3Dcover -s 20 wedding.jpg result.jpg 2>&1",$out,$returnval);
foreach($out as $text)
{echo "$text<br>";}
?>
Code: Select all
# convert side from percent to pixels if needed
test=`echo "$side" | grep "%"`
if [ "$test" != "" ]; then
side=`echo "$side" | sed 's/%//g'`
side=`convert xc: -format "%[fx:round($side*$ww/100)]" info:`
fi