Advanced Graphics and Image-Processing in R

Bindings to 'ImageMagick': the most comprehensive open-source image processing library available. Supports many common formats (png, jpeg, tiff, pdf, etc) and manipulations (rotate, scale, crop, trim, flip, blur, etc). All operations are vectorized via the Magick++ STL meaning they operate either on a single frame or a series of frames for working with layers, collages, or animation. In RStudio images are automatically previewed when printed to the console, resulting in an interactive editing environment. The latest version of the package includes a native graphics device for creating in-memory graphics or drawing onto images using pixel coordinates.



  • Add [<-.magick-image to support for assigning layers to image by index
  • Revert Windows build to ImageMagick 6 because IM7 is too buggy
  • Add plot(image) method
  • Added intro vignette


  • Try again to fix the mac binary package
  • Switch the Windows package to ImageMagick 7


  • Try to fix the mac binary package


  • Build binary package on OS-X --with-zero-configuation (fixes "config xml file" errors).
  • image_read now reads straight from disk rather than via R.
  • Add as.raster() method for images
  • image_write gains a 'flatten' argument
  • Lots of small tweaks here and there


  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.3 by Jeroen Ooms, 18 days ago

Report a bug at

Browse source code at

Authors: Jeroen Ooms

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports Rcpp, magrittr, curl

Suggests knitr, rmarkdown, rsvg, webp, png, pdftools, ggplot2, raster, rgdal, gapminder, tesseract

Linking to Rcpp

System requirements: ImageMagick++: ImageMagick-c++-devel (rpm) or libmagick++-dev (deb)

Imported by splashr, texPreview.

Suggested by dlib, hypervolume, kableExtra, mem, memapp, replyr, rgl, tesseract.

See at CRAN