Delay
delay
The delay time between the frames of the animated images in [ms].
Parameters
- integer larger than zero [ms]
Limitations
- presently, it can only be used with animated GIFs
- the precision of the delay time can decrease depending on the output image format
Dependencies
- This transformation does not have any dependencies.
Examples
Set the time between the frames of the animated images to 100 ms
w:100_delay:100
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->width(100)->delay(100);
Set the time between the frames of the animated images to 300 ms
w:100_delay:300
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->width(100)->delay(300);
Set the time between the frames of the animated images to 900 ms
w:100_delay:900
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->width(100)->delay(900);