R/nr-magick.R
nrs_to_gif.Rd
Magick conversion - possibly won't be in final version of 'nara' pkg
nrs_to_gif(nr_list, filename, verbose = FALSE, framerate = 30, ...)
list of nativeRasters
filename of gif
logical. default FALSE
frames per second
other arguments passed to magick::image_write_gif()
None.
if (FALSE) { # interactive() && requireNamespace("magick", quietly = TRUE)
im <- magick::logo
nr1 <- magick_to_nr(im)
nr2 <- nr_duplicate(nr1)
nrs_to_gif(list(nr1, nr2), "nothing.gif")
}