img_to_gif: Create a gif from a set of images

View source: R/img_to_gif.R

img_to_gifR Documentation

Create a gif from a set of images

Description

Create a gif from a set of images

Usage

img_to_gif(files, fps, out_name, optimize = T, remove_img = F)

Arguments

files

Vector of file paths to images, in order

fps

Frames per second

out_name

File name of gif output

optimize

Argument to magick::image_animate; If TRUE, difference between images is stored

remove_img

If TRUE, remove all img files; default FALSE

Value

Nothing


Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.