Script file generated from LiVES
picinpic
0.3
Marco de la Cruz
Pic in Pic|Inserting into|1|1|
picinpic.py
python2.3
convert
_Start size (%) |0|num0|20|0|10000|
_End size (%)|0|num0|20|0|10000|
S_tart position (X+Y)|0|string|0+0|20|
E_nd position (X+Y)|0|string|0+0|20|
Start sub-image _frame|0|num0|1|1|10000000|
_geometry (WxH+X+Y)|0|string||20|
_Overlay method|0|string_list|over|in|out|atop|xor|plus|minus|add|subtract|difference|bumpmap|replace|blend|displace|dst_in|dst_out|dst_atop|exclusion|multiply|screen|overlay|
_Crop sub-image to this|0|bool|0|
End sub-image f_rame|0|num0|1|1|10000000|
|0|num0|1|-10000000|10000000|
|0|num0|1|1|10000000|
layout|"The number of sub-images MUST be 1 or match the length of the selection (effect will fail otherwise)"|
layout|"Current length of selection (fixed):"|p11|
layout|"Current number of sub-images (change below): "|p10|
layout|p5|fill|p9|
layout|p1|fill|p2|
layout|p3|fill|p4|
layout|p8|p6|
layout|p7|
0x0001
0xF0
$snewname=&mkname($p5);
$enewname=&mkname($p9);
$sk="-k $snewname$img_ext";
$ek="-K $enewname$img_ext";
$snewname=&mkname($start);
$enewname=&mkname($end);
$sf="-f $snewname$img_ext";
$ef="-F $enewname$img_ext";
$me="-m $p7";
$ss="-s '$p1%'";
$es="-S '$p2%'";
$sp="-p $p3";
$ep="-P $p4";
if ($p8) {
$cr="-c $p6";
}
else {
$cr="";
}
system("picinpic.py -q $me $ss $es $sp $ep $cr -x -e ".substr($out_ext,1)." $sk $ek $sf $ef");
# Do nothing
init|$p5_max=$last;$p5=$start-1;if (!$p5) {$p5=$end+1; if ($p5>$last) {$p5=1;}}
init|$p9_max=$last;$p9=$p5;
init|$p10=$p9-$p5+1;
init|$p11=$end-$start+1;
5|$p10=$p9-$p5+1;
5|$p11=$end-$start+1;
9|$p10=$p9-$p5+1;
9|$p11=$end-$start+1;