Learn R Programming

animation (version 2.0-5)

convert: A wrapper for the `convert' utility of ImageMagick or GraphicsMagick

Description

The main purpose of these two functions is to create GIF animations.

Usage

im.convert(files, output = "animation.gif", convert = c("convert", 
    "gm convert"), cmd.fun = system, extra.opts = "", clean = FALSE)
gm.convert(..., convert = "gm convert")

Arguments

Value

  • im.convert: The path of the output if the command was successfully executed; otherwise a failure message.

    If ani.options('autobrowse') == TRUE, this function will also try to open the output automatically.

Details

im.convert: the function im.convert simply wraps the arguments of the convert utility of ImageMagick to make it easier to call ImageMagick in R;

gm.convert: the function gm.convert is a wrapper for the command gm convert of GraphicsMagick;