public class TiffCompression
Example:
Document doc = new Document(getMyDir() + "Rendering.docx");
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.TIFF);
options.setTiffCompression(TiffCompression.CCITT_3);
options.setPageIndex(0);
options.setPageCount(1);
doc.save(getArtifactsDir() + "Rendering.SaveToTiffCompression.tiff", options);
Field Summary | ||
---|---|---|
static final int | NONE | |
Specifies no compression.
|
||
static final int | RLE | |
Specifies the RLE compression scheme.
|
||
static final int | LZW | |
Specifies the LZW compression scheme.
In Java emulated by Deflate (Zip) compression.
|
||
static final int | CCITT_3 | |
Specifies the CCITT3 compression scheme.
|
||
static final int | CCITT_4 | |
Specifies the CCITT4 compression scheme.
|
public static final int NONE
public static final int RLE
public static final int LZW
public static final int CCITT_3
public static final int CCITT_4