ImageTiffCompression Enum

Wordize.Saving.ImageTiffCompression enum. Specifies what type of compression to apply when saving page images into a TIFF file.

ImageTiffCompression enumeration

Specifies what type of compression to apply when saving page images into a TIFF file.

public enum ImageTiffCompression

Values

NameValueDescription
None0Specifies no compression.
Rle1Specifies the RLE compression scheme.
Lzw2Specifies the LZW compression scheme. In Java emulated by Deflate (Zip) compression.
Ccitt33Specifies the CCITT3 compression scheme.
Ccitt44Specifies the CCITT4 compression scheme.

Examples

Shows how to specify tiff image options.

ImageSaveOptions imgSaveOptions = new ImageSaveOptions(SaveFormat.Tiff);
imgSaveOptions.TiffCompression = ImageTiffCompression.Ccitt3;
imgSaveOptions.TiffBinarizationMethod = ImageBinarizationMethod.FloydSteinbergDithering;
imgSaveOptions.ThresholdForFloydSteinbergDithering = 64;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "ImageSaveOptions.TiffCompression.tiff", imgSaveOptions)
    .Execute();

See Also