bmp v0.3


Monthly downloads



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.

Functions in bmp

Name Description
read.bmp Open windows BMP format image files
ConvertIntToUInt Fix a 32 bit unsigned integer that has been read as signed
is.bmp Returns TRUE if file is a Windows BMP image
No Results!

Last month downloads


License GPL (>= 2)
Collate 'read-bmp.R'
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-09-11 11:13:00 UTC; jefferis
Repository CRAN
Date/Publication 2017-09-11 11:50:08 UTC
suggests pixmap , testthat
Contributors Gregory Jefferis

Include our badge in your README