Cleaning up

This commit is contained in:
John Whitington
2023-04-13 17:07:55 +01:00
parent 9587169a94
commit 96d6e2472d
114 changed files with 4 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
# CHAPTER 5. Compression
def compress(pdf):
"""Compress any uncompressed streams in the given PDF using the Flate
algorithm."""
def decompress(pdf):
"""Decompress any streams in the given PDF, so long as the compression
method is supported."""
def squeezeInMemory(pdf):
"""squeezeToMemory(pdf) squeezes a pdf in memory. Squeezing is a lossless
compression method which works be rearrangement of a PDFs internal