TiffCompression Enumeration |
Specifies what type of compression to apply when saving pages to the TIFF format.
Namespace:
Aspose.Tasks.Saving
Assembly:
Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.1
Syntaxpublic enum TiffCompression
Public Enumeration TiffCompression
public enum class TiffCompression
Members
| Member name | Value | Description |
---|
| None | 1 |
Specifies no compression.
|
| Rle | 2 |
Specifies the RLE compression scheme.
|
| Ccitt3 | 3 |
Specifies the CCITT3 compression scheme.
|
| Ccitt4 | 4 |
Specifies the CCITT4 compression scheme.
|
| Lzw | 5 |
Specifies the LZW compression scheme.
|
ExamplesShows how to render in TIFF format by using RLE compression mode.
var project = new Project(DataDir + "Project2.mpp");
var options = new ImageSaveOptions(SaveFileFormat.TIFF);
options.TiffCompression = TiffCompression.Rle;
project.Save(OutDir + "RenderMultipageTIFF_comp_rle_out.tif", options);
See Also