/**
* Create Result object from imagePath
*
* @param string $imagePath
* @return Result
*/
protected function createResult($imagePath)
{
$info = getimagesize($imagePath);
$result = new Result();
$result->setDimensions($info[0], $info[1]);
return $result;
}