This commit is contained in:
John Whitington
2022-04-04 17:06:06 +02:00
parent 51012bf58e
commit a5916998ae
24 changed files with 1268 additions and 1252 deletions

View File

@@ -1,14 +1,12 @@
CHAPTER 5. Compression
/* CHAPTER 5. Compression */
Cpdf.compress(Cpdf.Pdf)
/** Compresses any uncompressed streams in the given PDF using the Flate
algorithm. */
public native void compress(Pdf pdf) throws CpdfError;
Compresses any uncompressed streams in the given PDF using the Flate algorithm.
/** Decompresses any streams in the given PDF, so long as the compression
method is supported. */
public native void decompress(Pdf pdf) throws CpdfError;
Cpdf.decompress(Cpdf.Pdf)
Decompresses any streams in the given PDF, so long as the compression method is
supported.
Cpdf.squeezeInMemory(Cpdf.Pdf)
Squeezes a pdf in memory.
/** Squeezes a pdf in memory. */
public native void squeezeInMemory(Pdf pdf) throws CpdfError;