cpdf-source/html_manual/pysplits/c06.tex

14 lines
438 B
TeX
Raw Normal View History

2021-09-27 20:18:25 +02:00
# 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