Learn R Programming

R.devices (version 2.17.2)

png2: A PNG device for Bitmap Files via GhostScript

Description

A PNG device for Bitmap Files via GhostScript.

Usage

png2(filename, width=480, height=480, res=144, type="png256", ...)

Value

Returns nothing.

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().

Author

Henrik Bengtsson