Skip to content

A simple utility for adjusting the margins of multipage pdf files

Notifications You must be signed in to change notification settings

grohalex/pdf_margins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This is a utility for adjusting the margins (cropping or extending) of pdf files. It works with pdf files of any length.

HOW TO USE THIS PROGRAM:

  1. put the program (margins_pdf.py) in the folder with the file you want to modify
  2. the program extend the margins by 100 points. If you want to change this, open the program in a text editor and change the variable 'margin' to your desired value. If you want to extend/crop only left margin adjust variable 'left' to 'True' if only right margin set 'right' to 'True'.
  3. You can also crop the image from the bottom by modifying the 'bottom' variable
  4. just run margins_pdf.py in terminal by writing "python3 margins_pdf.py" and this will automatically find your pdf file and perform the selected action

About

A simple utility for adjusting the margins of multipage pdf files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages