R.utils (version 1.7.8)

png2: A PNG device for Bitmap Files via GhostScript

Description

A PNG device for Bitmap Files via GhostScript.

Usage

## S3 method for class 'default':
png2(filename, width=480, height=480, res=144, type="png256", ...)

Arguments

filename
The name of the file to be produced.
width, height
The width and height (in pixels) of the result image.
res
The resolution of the image.
type
The output type. See dev2bitmap for details.
...
Additional arguments passed to bitmap().

Value

  • Returns nothing.