Meta: Remove log output from jbig2_to_pdf.py

When the script was new, it was comforting to see it print the right
image dimensions and page counts. Now that it seems to mostly work,
make it adhere to the rule of silence.
This commit is contained in:
Nico Weber
2025-11-24 08:01:52 -05:00
parent b493971663
commit 9c109532b8

View File

@@ -190,7 +190,6 @@ def main():
p = 4 if global_segments else 3
print(f'{len(pages)} pages')
page_refs = b' '.join([b'%d 0 R' % (p + 3 * i) for i in range(len(pages))])
global_entry = b''
@@ -235,7 +234,6 @@ def main():
for page in pages:
segment_headers = pages[page]
width, height = get_dimensions(segment_headers)
print(f'dims {width}x{height}')
segment_headers = [h for h in segment_headers if h.type != EndOfPage]
image_data = reserialize(segment_headers)