src/Commands/Convert.php
public function createGifCommand(array $sourcesImages, $resultImageName, $resultDirectory, $delay = 50, $loop = 0)
	{
		$cmd = $this->createGifCommandCmd($sourcesImages, $resultImageName, $resultDirectory, $delay, $loop);

		return `$cmd`;
	}
public function createGifCommand(array $sourcesImages, $resultImageName, $resultDirectory, $delay = 50, $loop = 0)
	{
		$cmd = $this->createGifCommandCmd($sourcesImages, $resultImageName, $resultDirectory, $delay, $loop);

		return `$cmd`;
	}
Executes the command to create a gif image of the passed source images...

@param array  $sourcesImages   Array which contains the path to the source images.
@param string $resultImageName Name of the result image, the ".gif" extension will be added automatically.
@param string $resultDirectory Path to directory where the result image should be stored.
@param int    $delay           Delay of gif animation.
@param int    $loop            Amount of loops of gif image.

@return string