ImageEn, unit iexBitmaps

TIOMultiParams


Declaration

TIOMultiParams = class;


Description

A list of TIOParams for handling images with multiple frames, such as AVI, TIFF, GIF and DICOM. It is used by TImageEnMIO.Params and TIEMultiBitmap.Params.


Examples

// Change the DPI of all images
for i := 0 to ImageEnMView1.MIO.ParamsCount - 1 do
begin
  ImageEnMView1.MIO.Params[i].DpiX := 72;
  ImageEnMView1.MIO.Params[i].DpiY := 72;
end;

// Change the compression method for a TIFF file
// Note: This is an example. A better method is to use DuplicateCompressionInfo()
MBitmap := TIEMultiBitmap.Create();
MBitmap.ParamsEnabled := True;
MBitmap.LoadFromFile( 'C:\MyImage.tiff' );
for i := 0 to MBitmap.Count - 1 do
  MBitmap.Params[i].TIFF_Compression := ioTIFF_G4FAX;
MBitmap.SaveToFile( 'C:\OutImage.tiff' );
MBitmap.Free();


Methods and Properties

Public Method  Assign
Public Method  Clear
Public Method  Create
Public Property  Count
Public Method  DuplicateCompressionInfo
Public Method  Read
Public Property  Params


See Also

TImageEnMIO.Params
TIEMultiBitmap.Params