poppler-qt5

Qt5 bindings for Poppler PDF rendering library

brewmacoslinux
Try with needOr install directly
Source

About

PDF rendering library (based on the xpdf-3.0 code base)

Commands

pdftohtmlpdftotextpdfinfopdfseparatepdfunite

Examples

Convert PDF to text file$ pdftotext document.pdf output.txt
Extract PDF metadata and information$ pdfinfo document.pdf
Convert PDF to HTML with images$ pdftohtml document.pdf output_folder/