Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 744 Bytes

File metadata and controls

35 lines (25 loc) · 744 Bytes

PDF_Border_Frames

Add configurable frame/borders to all pages in your PDF

Setup instructions

  1. Install PyMuPDF pypi package:
pip install PyMuPDF
  1. Run with default frame config:
python pdf_border_frame.py <path_to_pdf>

3. Run with custom config:
Flag Description Default
--l Left margin (pt) 20
--r Right margin (pt) 20
--t Top margin (pt) 20
--b Bottom margin (pt) 20
--th Frame thickness (pt) 2
python pdf_border_frame.py --t 20 --b 20 --l 20 --r 20 --th 2 <path_to_pdf>

Author

sk5268