Description Usage Arguments Value See Also Examples
This function write a vpImage object to an image file on the computer's drive. This function can save image files in the following formats:
Windows bitmaps - *.bmp, *.dib
JPEG files - *.jpeg, *.jpg, *.jpe
Portable Network Graphics - *.png
Portable image format - *.pbm, *.pgm, *.ppm
TIFF files - *.tiff, *.tif
The image format is chosen based on the filename
extension.
1 |
filename |
A character string of the path to the image file. |
image |
The vpImage object to save. |
This function does not return anythin.
1 2 3 | filename <- system.file("sample_img/SampleVideo_1080x720_5mb.png", package = "videoplayR")
img <- readImg(filename)
writeImg("test_img.png", img)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.