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|
colour|Frame _Colour|colRGB24|255|255|255|
</params>

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

<properties>
0x0000
</properties>

<language_code>
0xF0
</language_code>

<pre>
$end=$p2;

$cstring=&RGB24_to_string($p3_red,$p3_green,$p3_blue);
</pre>

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

<post>
</post>

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

