tool.pdf
public class Compress extends Object
Version: $Revision: 1.35 $ $Date: 2004/02/10 19:59:13 $
Field Summary | |
---|---|
static String | USAGE |
static String | VERSION |
Constructor Summary | |
---|---|
Compress() |
Method Summary | |
---|---|
boolean | compress(File filein, File fileout)
Compress filein according to settings and place result in fileout.
|
boolean | compress(PDFReader pdfr, PDFWriter pdfw) |
void | defaults() |
List<String> | getWacky() Not erroneous but strange news about PDF. |
static void | main(String[] argv) |
void | setCompact(boolean b) |
void | setCompat(boolean b) |
void | setMax() Set maximum compression possible, including lossy options. |
void | setOut(PrintStream out) |
void | setQuiet(boolean b) |
void | setStruct(boolean b) |
void | setSubset(boolean b) |
void | setTestable(boolean b)
Perform only those transformations that are testable without reproducing the code being tested.
|
void | setVerbose(boolean b) |
Returns: true iff successfully compress and new PDF is smaller