Script file generated from LiVES

<define>
|1.7
</define>

<name>
gen_coloured_frames
</name>

<version>
2
</version>

<author>
Salsaman|
</author>

<description>
Generate coloured frames|Generating coloured frames|1|0|
</description>

<requires>
convert
</requires>

<params>
width|_Width|num0|640|1|10000|
height|_Height|num0|480|1|10000|
nframes|_Number of frames|num0|100|1|100000|
fps|_Frames per second|num3|25.000|1.000|200.000|
colour|Frame _Colour|colRGB24|255|255|255|
</params>

<param_window>
layout|p0||p1|
layout|p2|p3|
</param_window>

<properties>
0x0000
</properties>

<language_code>
0xF0
</language_code>

<pre>
$end=$p2;
$fps=$p3;
$cstring=&RGB24_to_string($p4_red,$p4_green,$p4_blue);
</pre>

<loop>
`$convert_command -size $p0!x$p1! xc:$cstring +matte $out_prefix$out`;
$nwidth=$p0;$nheight=$p1;
</loop>

<post>
</post>

<onchange>
init|if ($width>0) {$p0=$width}; if ($height>0) {$p1=$height};
</onchange>

