Skip to content

Commit

Permalink
Update uncompress.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaos599 authored Oct 30, 2024
1 parent 2f66895 commit 771bdfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pdfly/uncompress.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def main(pdf: Path, output: Path) -> None:
uncomp_size = output.stat().st_size

print(f"Original Size : {orig_size:,}")
print(f"Uncompressed Size: {uncomp_size:,} ({(uncomp_size / orig_size) * 100:.1f}% of original)")
print(
f"Uncompressed Size: {uncomp_size:,} ({(uncomp_size / orig_size) * 100:.1f}% of original)"
)


def decompress_content_stream(content: IndirectObject) -> None:
Expand Down

0 comments on commit 771bdfc

Please sign in to comment.