podofo

Library and tools to read, write, and manipulate PDF files programmatically.

brewmacoslinux
Try with needOr install directly
Source

About

Library to work with the PDF file format

Commands

podofoimposepodofocolorpodofocroppodofoencryptpodofoimgextractpodofomergepodofonummerpagespodofopdfinfopodofotxtpodofouncompress

Examples

extract text content from a PDF file$ podofotxt input.pdf output.txt
merge multiple PDF files into one$ podofomerge -o merged.pdf file1.pdf file2.pdf file3.pdf
add page numbers to all pages in a PDF$ podofonummerpages input.pdf output.pdf
extract images from a PDF document$ podofoimgextract input.pdf output_folder/
get metadata and information about a PDF$ podofopdfinfo input.pdf