Sign inSign up

pdfix/validate-pdf-verapdf

By pdfix

Updated 10 days ago

Image
0

3.2K

pdfix/validate-pdf-verapdf repository overview

veraPDF Validation

This Docker image includes veraPDF software that validates PDF/A and PDF/UA parts and conformance levels. Users can define further checks to enforce institutional policy.

Table of Contents

Getting started

You need Docker installed. The first run downloads the image and may take longer than later runs.

Usage

Mount a folder into the container and run a subcommand:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-verapdf:v1.1.1 <command> [options]

Commands

  • validate: Validate a PDF and write or print a report

Arguments

validate
OptionRequiredType / expected valueDescription
--input, -iyesPath to an existing .pdf fileInput PDF
--output, -onoPath for report file; omit to print to stdoutOutput file
--formatnoOne of: raw, xml, html, text, json (default: xml)Report format
--flavournoString (default: ua1)Validation profile flavour
--profilenoPath to an existing validation profile fileCustom profile
--maxfailuresnoInteger (default -1)Stop after this many failures
--maxfailuresdisplayednoInteger (default -1)Max failures shown per rule
--passnoFlag; include passing checks when presentShow passed checks

Notes:

  • For --format xml, if --output is set it must end with .xml.
  • For --format html, if --output is set it must end with .html.

Examples

Validate and print XML to stdout:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-verapdf:v1.1.1 validate -i /data/input.pdf

Validate and write HTML:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-verapdf:v1.1.1 \
  validate -i /data/input.pdf -o /data/report.html --format html

Help & support

To report an issue, contact [email protected].

Licenses

Tag summary

Content type

Image

Digest

sha256:bcd0bdf3c

Size

379.2 MB

Last updated

10 days ago

docker pull pdfix/validate-pdf-verapdf