createPNGbuttons: Creates PNG files to be used as colored caps (buttons)

Description Usage Arguments Value Author(s) Examples

View source: R/CVD.R

Description

createPNGbuttons creates PNG files from a data.frame with RGB values.

Usage

1
2
createPNGbuttons(capsData = get("FarnsworthD15", envir = environment()),
 imgLength = 44, imgWidth = 78)

Arguments

capsData

Input file name.

imgLength

Input file name.

imgWidth

Input file name.

Value

png file object.

Author(s)

Jose Gama

Examples

1
2
3
4
5
6
## Not run: 
createPNGbuttons(data.frame(R=0,G=0,B=0))
data(FarnsworthD15)
createPNGbuttons(FarnsworthD15)

## End(Not run)


CVD documentation built on May 21, 2017, 3:56 a.m.
Search within the CVD package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.