pdfScale icon indicating copy to clipboard operation
pdfScale copied to clipboard

Split PDF and Page range

Open tavinus opened this issue 7 years ago • 0 comments

Working with pages

Implement option to "explode" a PDF into several PDFs (one per page).

Same functionality as my pdfSplit.sh script.
https://gist.github.com/tavinus/1a2ae53441b3fa725e93ec043b8b1112

Additionally, give the option for the user to specify a range of pages on scaling and resizing.

May also be interesting to have an option specific to range splitting,
that just splits the PDF and nothing else.

Options

  • --split START-END Range
  • --splitAll One PDF per page
  • --firstPage / --lastPage Enter start / end on its own (like GS)

These may have relevant info: https://www.grenadeco.com/tutorial/introduction-to-ghostscript/ https://stackoverflow.com/questions/4826485/ghostscript-pdf-total-pages/4829240

tavinus avatar Oct 04 '18 16:10 tavinus