mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Finishing python comments
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
# CHAPTER 5. Compression
|
||||
|
||||
def compress(pdf):
|
||||
"""compress(pdf) compresses any uncompressed streams in the given PDF
|
||||
using the Flate algorithm."""
|
||||
"""Compress any uncompressed streams in the given PDF using the Flate
|
||||
algorithm."""
|
||||
|
||||
def decompress(pdf):
|
||||
"""uncompress(pdf) uncompresses any streams in the given PDF, so long as
|
||||
the compression method is supported."""
|
||||
"""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."""
|
||||
"""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