pmaupin / pdfrw

pdfrw is a pure Python library that reads and writes PDFs
Other
1.84k stars 271 forks source link

Adding PdfReader.remove_page #221

Open Lucas-C opened 3 years ago

Lucas-C commented 3 years ago

Usage example:

PdfWriter(trailer=PdfReader('src.pdf').remove_page(1)).write('out.pdf')

Copied to https://github.com/sarnold/pdfrw/pull/7