pdf - weakish/cheat GitHub Wiki

  • pdfinfo: pdf metadata
  • pdffonts: pdf fonts
  • pdftotext: convert pdf to text
  • mudraw: convert pdf to images (better than pdfimages), e.g. mudraw -r 600 -o test-%d.png test.pdf (resalution 600)
  • mutool extract: extract fonts and images from pdf
  • mutool clean -d: decompress pdf
  • pdftk: extract or goto certain page, e.g. pdftk test.pdf cat 1-2 output z.pdf and pdftk test.pdf cat 4-4east output z.pdf