Learn R Programming

Rvision (version 0.6.0)

dim.Rcpp_VideoWriter: Dimensions of a Video Writer

Description

Retrieve the dimensions a VideoWriter object.

Usage

# S3 method for Rcpp_VideoWriter
dim(x)

Arguments

x

A VideoWriter object.

Value

A vector with 2 values corresponding to the number of rows and columns of the video writer (in this order).

See Also

VideoWriter, videoWriter

Examples

Run this code
# NOT RUN {
writer <- videoWriter("test.mp4", "H264", 25, 1080, 1920)
dim(writer)
release(writer)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab