read.bmp {bmp}R Documentation

Open windows BMP format image files

Description

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(s)

jefferis

Examples

## Not run: 
library(pixmap)
r=read.bmp('myrgbimage.bmp')
pr=pixmapRGB(r)
r=read.bmp('mygreyimage.bmp')
pr=pixmapGrey(r)
plot(pr)

## End(Not run) 

[Package bmp version 0.3 Index]