In the .NET Version (IEvolution2), setting the compression has no effect. The written file is always uncompressed in TIFF or PDF export.
C# code:
for (int i = 0; i < ieMulti1.ImageList.ImageCount; i++)
{
ieMulti1.ImageList.GetIOParams(i).TIFF_Compression = AC.currentStack.ExportTIFFCompression;
}
ieMulti1.ImageList.SaveImages(tiffFileName);
IEImage img = new IEImage();
img.CreatePDFFile(pdfFileName);
for (int i = 0; i < ieMulti1.ImageList.ImageCount; i++)
{
ieMulti1.ImageList.GetIOParams(i).PDF_Compression = AC.currentStack.ExportPDFCompression;
ieMulti1.ImageList.CopyTo(i, img);
img.IOParams.PDF_Compression = AC.currentStack.ExportPDFCompression;
img.SaveToPDF();
}
img.ClosePDFFile();
img.Dispose();