Learn R Programming

Rvision (version 0.6.0)

nrow.Rcpp_VideoWriter: The Number of Rows/Columns of a Video Writer

Description

nrow, ncol return the number of rows or columns present in a VideoWriter object.

Usage

nrow.Rcpp_VideoWriter(x)

ncol.Rcpp_VideoWriter(x)

Arguments

x

A VideoWriter object.

Value

A numeric value.

See Also

dim which returns all dimensions.

Examples

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

Run the code above in your browser using DataLab