R/nr-magick.R
nrs_to_mp4.RdMagick conversion - possible won't be in final version of 'nara' pkg
nrs_to_mp4(nr_list, filename, verbose = FALSE, ...)list of native raster image
mp4 filename
logical. default FALSE
other arguments passed to magick::image_write_video()
None.
Other conversion functions:
magick_to_nr(),
matrix_to_nr(),
nr_to_raster(),
nrs_to_gif()
if (FALSE) { # interactive() && requireNamespace("magick", quietly = TRUE)
im <- magick::logo
nr1 <- magick_to_nr(im)
nr2 <- nr_copy(nr1)
nrs_to_mp4(list(nr1, nr2), "nothing.mp4")
}