updated
This commit is contained in:
@@ -2,7 +2,7 @@ import fitz # PyMuPDF
|
|||||||
|
|
||||||
LETTER_WIDTH = 792 # 8.5 inches
|
LETTER_WIDTH = 792 # 8.5 inches
|
||||||
LETTER_HEIGHT = 612 # 11 inches
|
LETTER_HEIGHT = 612 # 11 inches
|
||||||
BOTTOM_MARGIN = 30
|
BOTTOM_MARGIN = 60
|
||||||
|
|
||||||
def adjust_layout(input_path, output_path, shift_amount):
|
def adjust_layout(input_path, output_path, shift_amount):
|
||||||
doc = fitz.open(input_path)
|
doc = fitz.open(input_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user