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
| Name | Value | Description |
|---|---|---|
| None | 0 | Specifies no compression. |
| Rle | 1 | Specifies the RLE compression scheme. |
| Lzw | 2 | Specifies the LZW compression scheme. In Java emulated by Deflate (Zip) compression. |
| Ccitt3 | 3 | Specifies the CCITT3 compression scheme. |
| Ccitt4 | 4 | Specifies 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
- namespace Wordize.Saving
- assembly Wordize