eps2png: Convert EPS to PNG.

View source: R/eps2png.R

eps2pngR Documentation

Convert EPS to PNG.

Description

Convert EPS file to PNG format.

Usage

eps2png(epsfile, dpi = 300, gray = FALSE, ag = 4, at = 4)

Arguments

epsfile

EPS file to convert.

dpi

dots per inch.

gray

whether image should be grayscale.

ag

antialias value for graphics, from 0 (sharp) and 4 (smooth).

at

antialias value for text, from 0 (sharp) and 4 (smooth).

Value

NULL, but alters EPS file and creates PDF file.

Note

Requires shell scripts 2png and optipng.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.