dim.Rcpp_VideoWriter: Dimensions of a Video Writer

View source: R/VideoWriterClass.R

dim.Rcpp_VideoWriterR Documentation

Dimensions of a Video Writer

Description

Retrieve the dimensions a VideoWriter object.

Usage

## S3 method for class '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).

Author(s)

Simon Garnier, garnier@njit.edu

See Also

VideoWriter, videoWriter

Examples

## Not run: 
writer <- videoWriter("test.mp4", "H264", 25, 1080, 1920)
dim(writer)
release(writer)

## End(Not run)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.