powered by
The image format is chosen based on the filename extension.
filename
writeImg(filename, image)
readImg
vpImage
filename <- system.file("sample_img/SampleVideo_1080x720_5mb.png", package = "videoplayR") img <- readImg(filename) writeImg("test_img.png", img)
Run the code above in your browser using DataLab