Skip to content

Commit 9b3ae4d

Browse files
committed
Update quality defaults
1 parent 6bdcc72 commit 9b3ae4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/pdf_to_cbz.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def rename_zip_to_cbz(zip_path):
9696
return cbz_path
9797

9898

99-
def convert_pdf_to_cbz(pdf_path, quality=80, max_height=1024):
99+
def convert_pdf_to_cbz(pdf_path, quality=100, max_height=1024):
100100
"""Convert a PDF to CBZ and run CBZ optimization."""
101101
image_directory = convert_pdf_to_image_directory(pdf_path)
102102
zip_path = zip_directory(image_directory)
@@ -105,7 +105,7 @@ def convert_pdf_to_cbz(pdf_path, quality=80, max_height=1024):
105105
return cbz_path
106106

107107

108-
def process_pdf_files(directory, quality=80, max_height=1024):
108+
def process_pdf_files(directory, quality=100, max_height=1024):
109109
"""Recursively process PDF files in a directory and return summary stats."""
110110
success_count = 0
111111
skipped_count = 0

0 commit comments

Comments
 (0)