You'll need ImageMagick for formats other than PNG and JPEG. If the image is actually a video, you'll need ffmpeg.
an image (of class cimg)
path to file. The format is determined by the file's name
#Create temporary file
tmpF <- tempfile(fileext=".png")
#Save boats image
#Read back and display
load.image(tmpF) %>% plot
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.