Closed tavinus closed 3 months ago
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.
scaling
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
--splitAll
--firstPage
--lastPage
These may have relevant info: https://www.grenadeco.com/tutorial/introduction-to-ghostscript/ https://stackoverflow.com/questions/4826485/ghostscript-pdf-total-pages/4829240
Implemented
Gave up on using --firstPage / --lastPage and went for the Page Range route (which is more complete).
Any Operation can have page ranges and explode the output.
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
andresizing
.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