Skip to contents

Limited to 8 bit greyscale images and 24 bit RGB images.

Usage

read.bmp(f, Verbose = FALSE)

Arguments

f

File to open

Verbose

Give verbose warnings (default FALSE)

Value

array of dims height x width x channels

Author

jefferis

Examples

if (FALSE) { # \dontrun{
library(pixmap)
r=read.bmp('myrgbimage.bmp')
pr=pixmapRGB(r)
r=read.bmp('mygreyimage.bmp')
pr=pixmapGrey(r)
plot(pr)
} # }