Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
man
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gifski in R

CRAN RStudio mirror downloads

gifski converts video frames to GIF animations using pngquant's fancy features for efficient cross-frame palettes and temporal dithering. It produces animated GIFs that use thousands of colors per frame.

This R package wraps the gifski cargo crate, see also the website.

Examples

Minimal example from the ?gifski manual page.

png("frame%03d.png")
par(ask = FALSE)
for(i in 1:10)
  plot(rnorm(i * 10), main = i)
dev.off()
png_files <- sprintf("frame%03d.png", 1:10)
gif_file <- gifski(png_files)
unlink(png_files)
utils::browseURL(gif_file)

Installation in R

The hellorust readme has instructions on how to setup rust on Windows, MacOS or Linux. After that you can just do:

devtools::install_github("r-rust/gifski")

About

R wrapper for the 'gifski' Rust Cargo crate.

Resources

License

Packages

No packages published