pdf - weakish/cheat GitHub Wiki
pdfinfo
: pdf metadatapdffonts
: pdf fontspdftotext
: convert pdf to textmudraw
: convert pdf to images (better thanpdfimages
), e.g.mudraw -r 600 -o test-%d.png test.pdf
(resalution 600)mutool extract
: extract fonts and images from pdfmutool clean -d
: decompress pdfpdftk
: extract or goto certain page, e.g.pdftk test.pdf cat 1-2 output z.pdf
andpdftk test.pdf cat 4-4east output z.pdf