Description Usage Arguments Value
getBlock grabs the next k frames as a block, meaning as a single CImg image with depth k. Note that like getFrame *this function has side effects*, so that calling it twice generally results in two different return values.
1 |
str |
an input stream |
nFrames |
how many frames to grab |
a cimg object of depth nFrames or less (if there are fewer than nFrames frames remaining in the stream)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.