Exporting report to TIFF format images can be done in two ways.
1. LibTiffDelphi Addon (All versions of Delphi)The LibTiffDelphi addon is a freeware library that allows TIFF images to be created and viewed using Delphi. To utilize this library with ReportBuilder, first download and install the LibTiffDelphi files in your library or application path. Then register the TppTIFFDevice by adding "ppTIFFDevice" to your uses clause.
Download LibTiffDelphi from the following location:
http://www.digital-metaphors.com/tips/RB_LibTiffDelphi.zip
2. Windows Imaging Component (Delphi 2010 or later)
Delphi 2010 and later include Windows Imaging Component (WIC) support. This can be used to create and view numerous image formats including TIFF. In order to utilize this feature with ReportBuilder, simply add ppWICDevice to your uses clause registering the TppWICTIFFDevice..
For an example of exporting to TIFF format, see the Image Device Fundamentals article and demo.
In some cases you may need to alter the compression type used when exporting TIFF images. Below is a list of the compression types supported for each TIFF device and some sample code showing how to assign it.
LibTiffDelphi (TppTIFFDevice)
Compression Supported: LZW, CCITTG4
Example Code:
uses ppTiffDevice; lTIFFDevice := TppTIFFDevice.Create(Self); lTIFFDevice.CompressionType := tcCCITTG4;
Windows Imaging Component (TppWICDevice)
Compression Supported: CCITT3, CCITT4, LZW, RLE, Zip, LZWHDifferencing
Example Code:
uses ppWICDevice; lWICDevice := TppWICDevice.Create(Self); TppWICImage(lWICDevice.WIC).TiffCompressionType := tcCCITT4