Vcl.Imaging.GIFImg.GIFDelayExp
Delphi
GIFDelayExp: integer = 12; // Delay multiplier in mS.
C++
extern DELPHI_PACKAGE int GIFDelayExp;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
variable | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | Vcl.Imaging.GIFImg |
Description
Specifies the factor by which to multiply the delay variables in order to obtain the effective GIF animation delay time.
Change the value of GIFDelayExp to specify the factor by which to multiply the delay variables (GIFDefaultDelay, GIFMinimumDelay, and GIFMaximumDelay) in order to obtain the effective GIF animation delay time, in milliseconds.
According to the GIF specifications, the value of GIFDelayExp should be 10. However, you should increase the value of GIFDelayExp if your animations loops too fast.
The optimal value for GIFDelayExp is impossible to determine in advance, because it depends on the speed of the CPU, the video card, memory bandwidth, and so on.