ImageEn, unit iexBitmaps

TIOParams.GIF_DelayTime

TIOParams.GIF_DelayTime


Declaration

property GIF_DelayTime: integer;


Description

Specifies the period (in 1/100th sec) for which the current frame remains shown.

Default: 0


Demo

Demo  Demos\ImageEditing\AnimatedGIF\AnimatedGIF.dpr


Examples

ImageEnView1.IO.Params.GIF_DelayTime := 10;        // Set current frame to display for 1/10th of a second

// Create an animated GIF file from ten source images
mbmp := TIEMultiBitmap.create;
for i := 0 to 9 do
begin
  mbmp.AppendImage( format( 'D:\Source\Frame %d.bmp', [i] ));
  mbmp.Params[i].GIF_DelayTime := 10; // Display each frame for 1/10th of a second
end;
mbmp.Write( 'D:\animated.gif' );
mbmp.Free;