The following example code demonstrates how to compress TIFF files using the above method.
using System.IO;
using System.Drawing.Printing;
using RasterEdge.Imaging;
using RasterEdge.Imaging.Codec.Compression;
using RasterEdge.Imaging.TIFF;
RasterEdgeImaging Image = new RasterEdgeImaging();
{
TiffEncoder.infile(@"C:\1.tif");
TiffEncoder.Outfile(@"C:\2.tif");
TiffEncoder = TiffEncoder.Group3Encoding;
}
Image.TiffEncoder(@"C:\1.tif", "C:\2.tif", TiffEncoder TiffEncoder.Group3Encoding);