View source: R/VideoWriterClass.R
| dim.Rcpp_VideoWriter | R Documentation |
Retrieve the dimensions a VideoWriter object.
## S3 method for class 'Rcpp_VideoWriter'
dim(x)
x |
A |
A vector with 2 values corresponding to the number of rows and columns of the video writer (in this order).
Simon Garnier, garnier@njit.edu
VideoWriter, videoWriter
## Not run:
writer <- videoWriter("test.mp4", "H264", 25, 1080, 1920)
dim(writer)
release(writer)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.