mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
13
html_manual/pysplits/c06.tex
Normal file
13
html_manual/pysplits/c06.tex
Normal 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
|
Reference in New Issue
Block a user