read.bmp: Open windows BMP format image files

Description Usage Arguments Value Author(s) Examples

View source: R/read-bmp.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
## 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) 

bmp documentation built on May 1, 2019, 9:45 p.m.