The selected second’s frame will appear after formatting the video into image.
This transformation can be used only with formatting.
- float (only positive): selected second
- Only positive float
- If given higher value than the overall duration, the last frame will be selected
- Enterprise feature, not available for every user. For more information, please contact our support »
See the following examples about the possible ways of usage.
With second (5)
use shardimage\shardimagephp\factories\Transformation; $transformations = (new Transformation())->toJpeg()->second(5);