file2swf | R Documentation |
This function converts a sequence of PNG/JPEG/SVG image files to SWF. Based
on the image format, it calls image2swf
or
svg2swf
.
file2swf(files, output, bgColor = "white", interval = 1)
files |
a character vector of input filenames |
output |
the name of the output swf file |
bgColor |
background color of the output SWF file |
interval |
the time interval between animation frames |
The name of the SWF file.
Yihui Xie <https://yihui.org>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.