cpdf-source/docsplits/pysplits/c06.tex

13 lines
430 B
TeX

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 by rearrangement of a PDFs internal
structure."""