ImageEn, unit iewic

TIEWICWriter.TIFFCompressionMethod

TIEWICWriter.TIFFCompressionMethod


Declaration

property TIFFCompressionMethod: TIEWICTIFFCompressionMethod;


Description

Specifies the Tagged Image File Format (TIFF) compression options.

You must set this property before each PutFrame call.


Example

// writes a TIFF using CCITT4 compression (make sure ImageEnView1.IEBitmap.PixelFormat=ie1g)
with TIEWICWriter.Create do
begin
  Open('D:\output.tif', ioTIFF);
  TIFFCompressionMethod := ieWICTiffCompressionCCITT4;
  PutFrame(ImageEnView1.IEBitmap);
  Free;
end;