public function compareImages($expectedImage, $compareImage, $resultImageName, $resultImageDirectory)
	{
		$time = date('Ymd-His');

		$diffResult    = $this->createDiffGifOnDifferences($expectedImage, $compareImage,
		                                                   $resultImageName . 'Diff' . $time, $resultImageDirectory);
		$compareResult = $this->createComparisonImageOnDifferences($expectedImage, $compareImage,
		                                                           $resultImageName . 'Compared' . $time,
		                                                           $resultImageDirectory);
		if($diffResult || $compareResult)
		{
			$gif = $resultImageName . 'Diff' . $time . '.gif';
			$png = $resultImageName . 'Compared' . $time . '.gif';

			return [$gif, $png];
		}

		return [];
	}