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.
You need Docker installed. The first run downloads the image and may take longer than later runs.
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]
validate: Validate a PDF and write or print a reportvalidate| Option | Required | Type / expected value | Description |
|---|---|---|---|
--input, -i | yes | Path to an existing .pdf file | Input PDF |
--output, -o | no | Path for report file; omit to print to stdout | Output file |
--format | no | One of: raw, xml, html, text, json (default: xml) | Report format |
--flavour | no | String (default: ua1) | Validation profile flavour |
--profile | no | Path to an existing validation profile file | Custom profile |
--maxfailures | no | Integer (default -1) | Stop after this many failures |
--maxfailuresdisplayed | no | Integer (default -1) | Max failures shown per rule |
--pass | no | Flag; include passing checks when present | Show passed checks |
Notes:
--format xml, if --output is set it must end with .xml.--format html, if --output is set it must end with .html.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
To report an issue, contact [email protected].
Content type
Image
Digest
sha256:bcd0bdf3c…
Size
379.2 MB
Last updated
10 days ago
docker pull pdfix/validate-pdf-verapdf