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.
// 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();
See Also
◼TImageEnMIO.Params◼TIEMultiBitmap.Params