pdf_to_png: Convert PDF to PNG

Description Usage Arguments Details Examples

View source: R/pdf_to_png.R

Description

Convert a PDF file to a PNG file. Requires inkscape command-line utility.

Usage

1
pdf_to_png(filename, dpi = 300)

Arguments

filename

A PDF file name or file path

dpi

Required DPI

Details

The function creates an PNG file at the same location where the PDF is.

Examples

1
2
3
4
## Not run: 
pdf_to_png(filename = "~/test.pdf")

## End(Not run)

michaeldorman/geobgu documentation built on Jan. 6, 2021, 3:57 p.m.