capture_pdf_cover: Capture cover page of a PDF

View source: R/utils.R

capture_pdf_coverR Documentation

Capture cover page of a PDF

Description

Capture cover page of a PDF file

Usage

capture_pdf_cover(
  file_path,
  file_name_jpg = NULL,
  file_dir_jpg = NULL,
  dpi = 72
)

Arguments

file_path

(required) PDF file path

file_name_jpg

(optional) file name to store jpg. If empty, file name of jpg is same as pdf

file_dir_jpg

(optional) file directory to store jpg. If empty, file will be stored in same folder as pdf

dpi

set image resolution in dpi, default is 72 dpi

Value

image file


mah0001/nadar documentation built on March 30, 2024, 2:44 a.m.