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
public enum TiffCompression
  Member nameValueDescription
None1 Specifies no compression.
Rle2 Specifies the RLE compression scheme.
Ccitt33 Specifies the CCITT3 compression scheme.
Ccitt44 Specifies the CCITT4 compression scheme.
Lzw5 Specifies the LZW compression scheme.
Shows how to render in TIFF format by using RLE compression mode.
var project = new Project(DataDir + "Project2.mpp");

var options = new ImageSaveOptions(SaveFileFormat.TIFF);

// Save the project with Rle compression
options.TiffCompression = TiffCompression.Rle;
project.Save(OutDir + "RenderMultipageTIFF_comp_rle_out.tif", options);
See Also