Read Windows Bitmap (BMP) Images

Reads Windows BMP format images. Currently limited to 8 bit greyscale images and 24,32 bit (A)RGB images. Pure R implementation without external dependencies.

Travis-CI Build Status CRAN_Status_Badge

  • Simple R package to read Windows BMP format images.
  • No external dependencies
  • Currently only reads 8 bit greyscale and 24 or 32 bit RGB images.
  • Limited testing

Released versions

The recommendation is to install from CRAN.


Bleeding Edge

You can, however, download the tar ball, and run R CMD INSTALL on it, or use the devtools package to install the development version:

# install.packages("devtools")
install_github("bmp", "jefferis")

Note: Windows users need Rtools and devtools to install this way.


bmp 0.2

  • Add ability to read 32 bit ARGB images

bmp 0.1

  • first version on CRAN

Reference manual

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


0.3 by Gregory Jefferis, 4 years ago

Browse source code at

Authors: Gregory Jefferis

Documentation:   PDF Manual  

GPL (>= 2) license

Suggests pixmap, testthat

Imported by MtreeRing, RPPASPACE, colorfindr, readbitmap, shelltrace.

Suggested by imgpalr, tiler.

See at CRAN