createPNGbuttons {CVD}R Documentation

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

Description

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

Usage

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

## Not run: 
createPNGbuttons(data.frame(R=0,G=0,B=0))
data(FarnsworthD15)
createPNGbuttons(FarnsworthD15)

## End(Not run)

[Package CVD version 1.0.2 Index]