cpdf-source/docsplits/javasplits/c06.tex

13 lines
424 B
TeX
Raw Permalink Normal View History

2022-04-04 17:06:06 +02:00
/* CHAPTER 5. Compression */
2022-04-03 16:48:26 +02:00
2022-04-04 17:06:06 +02:00
/** Compresses any uncompressed streams in the given PDF using the Flate
algorithm. */
public native void compress(Pdf pdf) throws CpdfError;
2022-04-03 16:48:26 +02:00
2022-04-04 17:06:06 +02:00
/** Decompresses any streams in the given PDF, so long as the compression
method is supported. */
public native void decompress(Pdf pdf) throws CpdfError;
2022-04-03 16:48:26 +02:00
2022-04-04 17:06:06 +02:00
/** Squeezes a pdf in memory. */
public native void squeezeInMemory(Pdf pdf) throws CpdfError;