pngalso: Convert pdf to png

Description Usage Arguments Value

View source: R/pngalso.R

Description

Save a previously created pdf file also as png in the same directory. Requires imagemagick to be installed on the system and to be in the $PATH. On Windows, the system command "convert.exe" is found before ImageMagick's convert.exe, that's why we have to hardcode it.

Usage

1
pngalso(fname, basedir = NULL, dens = 150)

Arguments

fname

the name of the pdf file to convert

basedir

the directory the pdf file is in, if NULL, the "figures" folder in the current working directory is taken

dens

sets the resolution of the resulting png

Value

nothing, invoked for side effects (png creation)


cszang/velcro documentation built on May 14, 2019, 12:27 p.m.