pdf_diff: pdf_diff

Description Usage Arguments Details Value

View source: R/images.R

Description

Difference of two pdf:s

Usage

1
pdf_diff(reference, new, dir = tempdir())

Arguments

reference

Path to a pdf file

new

Path to a pdf file

dir

directory to perform the comparison inside

Details

Submitt two pdfs of the same number of pages to this function and get back a data.frame with the same number of rows as the pdf with the percent pixel difference for each page and a path to a composed image of each page highlighting the differences in red.

Value

data.frame A data.frame with 3 columns: page, percent_diff, composite.


SVA-SE/mill documentation built on June 21, 2020, 4:09 a.m.