images_to_gif: Create a gif animatation using ImageMagick's convert

View source: R/animate.R

images_to_gifR Documentation

Create a gif animatation using ImageMagick's convert

Description

Create a gif animatation using ImageMagick's convert

Usage

images_to_gif(
  FF,
  output_filename = "animation.gif",
  convert_extra = "-loop 0 -delay 50"
)

Arguments

FF

charcater vector of PNG filenames

output_filename

the name of the output file, by default 'animation.gif'

convert_extra

character of extra conver arguments. Defaults to "-loop 0 -delay = 50" for infinte looping and 0.5s per frame

Value

the numeric value returned by convert

See Also

http://www.imagemagick.org/Usage/anim_basics/

http://imagemagick.org/script/command-line-processing.php


BigelowLab/dismotools documentation built on Jan. 4, 2023, 11:24 a.m.