Description Usage Arguments Details Value Author(s) Examples
Given the file names of a sequence of images, this function can convert them into a Flash file (.swf). Supported input formats are jpg/jpeg and png. The two formats are allowed to appear in the same sequence.
1 2 | image2swf(input, output = "movie.swf", bgColor = "white",
interval = 1)
|
input |
the file names of the images to be converted |
output |
the name of the output SWF file |
bgColor |
background color of the output SWF file |
interval |
the time interval (in seconds) between animation frames |
This function uses the Ming library
(http://www.libming.org/) to implement the
conversion. If you want to create a Flash file consisting
of vector graphics, use svg2swf()
instead.
The name of the generated swf file if successful.
Yixuan Qiu <yixuan.qiu@cos.name>
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.