Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

Runnable programs, one per task. Each takes its files as arguments:

go run ./examples/extract document.pdf
Example Shows
extract Text and image metadata of every page
validate PDF/A-2b validation, each violation with its clause and severity
remediate PDF/A-2b remediation, fonts embedded from a directory, a pinned /ID
compose A pipeline: merge, rotate a page, stamp a watermark
sign A PAdES signature from PEM certificate and key files
render The first page drawn to a PNG image

The godoc carries more as testable examples, such as ExampleWithFontFiles and ExampleNewSigner.