ImageSaveOptions.TiffCompression
ImageSaveOptions TiffCompression property. Gets or sets the type of compression to apply when saving generated images to the TIFF format.
ImageSaveOptions.TiffCompression property
Gets or sets the type of compression to apply when saving generated images to the TIFF format.
public ImageTiffCompression TiffCompression { get; set; }
Remarks
Has effect only when saving to TIFF.
The default value is Lzw.
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
- enum ImageTiffCompression
- class ImageSaveOptions
- namespace Wordize.Saving
- assembly Wordize