Created
May 18, 2019 19:37
-
-
Save PolMine/250cdafedf1e9d494b4fed031229a1c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(magick) | |
library(purrr) | |
list.files(path = "~/Lab/tmp/", pattern = "*.png", full.names = T) %>% | |
map(image_read) %>% # reads each path file | |
image_join() %>% # joins image | |
image_animate(fps = 1) %>% # animates, can opt for number of loops | |
image_write("~/Lab/annotation_demo.gif") # write to current dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment