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

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.