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.Read( 'C:\MyImage.tiff' );
for I := 0 to MBitmap.Count - 1 do
  MBitmap.Params[ I ].TIFF_Compression := ioTIFF_G4FAX;
MBitmap.Write( 'C:\OutImage.tiff' );
MBitmap.Free;



Methods and Properties

General
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