Skip to content

Instantly share code, notes, and snippets.

@perseoq
Created August 18, 2021 14:41
Show Gist options
  • Save perseoq/1bc2ca9eeb28e0af003349ca88e9332e to your computer and use it in GitHub Desktop.
Save perseoq/1bc2ca9eeb28e0af003349ca88e9332e to your computer and use it in GitHub Desktop.
remover cabecera y pies de pagina
pdftotext -y 80 -H 650 -W 1000 -nopgbrk -eol unix example.pdf
-y 80 -> crop 80 pixels after the top of file (remove header);
-H 650 -> crop 650 pixels after the -y has cropped (remove footer);
-W 1000 -> hight value to crop nothing (need especify something);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment