| nrs_to_gif | R Documentation |
Convert a list of native rasters to an animated gif
nrs_to_gif(nr_list, filename, verbose = FALSE, framerate = 30, ...)
nr_list |
list of native raster image |
filename |
filename of gif |
verbose |
logical. default FALSE |
framerate |
frames per second |
... |
other arguments passed to |
None.
Other conversion functions:
magick_to_nr(),
matrix_to_nr(),
nr_to_raster(),
nrs_to_mp4()
im <- magick::logo
nr1 <- magick_to_nr(im)
nr2 <- nr_copy(nr1)
nrs_to_gif(list(nr1, nr2), "nothing.gif")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.