std/pdf/repagefunctionjsscheller/scrilib

Remove and reorder pages in a PDF.

Try it
Definition
[ pdf : File select : Option<PageSelection> remove : Option<Boolean> reverse : Option<Boolean> ] -> File
Examples

Remove the first 2 pages from a PDF.

Extract the first 2 pages of a PDF.

Extract the last 2 pages of a PDF.

Remove the last page from a PDF.

Reverse the order of pages in a PDF.