Animate image. Resulting file best viewed in Google Chrome.
image_animate( input, attribute = "opacity", values = c(0, 1, 0), duration = 10, openfile = TRUE, output = input )
| input | File name of .svg file to input |
|---|---|
| attribute | Name of attribute. opacity is the default |
| values | Vector of values to go between. Defaults to c(0,1,0) |
| duration | Number of seconds for animation to last, defaults to 10 seconds |
| openfile | Open file in default program for .svg format. Defaults to FALSE. |
| output | File name of .svg file to output. Default is to overwrite the input file. |
output name