seqInsert
|
|
Sequence
|
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.
|
|
Input
|
An integer between 1 and 116 specifying the number of the image or sequence to be inserted into the Sequence. Values in the range of 100-116 correspond to hidden images.
|
|
Index
|
An optional integer specifying the index of the new frame in the sequence. If this value is zero, the image will be inserted to the beginning of the sequence.
|
|
Delay
|
An optional integer specifying the delay between the preceding frame of the sequence and the newly added frame, in milliseconds. If this parameter is omitted, the delay will be set to the one for the preceding frame of the sequence.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
ERR_BADFORMAT
|
|
The image's format differs from the sequence's format.
|
|
This set of statements grabs a sequence from the video device, then captures a single frame and inserts it in the middle of the sequence:
|
|
grabSeq(1,16,100)
|
grabIm (2)
|
seqInsert (1,2,7)
|