file2swf: Convert image files to SWF

Description Usage Arguments Value Author(s)

View source: R/xx2swf.R

Description

This function converts a sequence of PNG/JPEG/SVG image files to SWF. Based on the image format, it calls image2swf or svg2swf.

Usage

1
  file2swf(files, output, bgColor = "white", interval = 1)

Arguments

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

Value

The name of the SWF file.

Author(s)

Yihui Xie <http://yihui.name>


yixuan/R2SWF-archive documentation built on May 4, 2019, 5:28 p.m.