protected function createTmpImage($imagePath, $suffix)
{
//if a specified file as a overlay exists
$tmpImage = new ImageMagick();
$tmpImage->load($imagePath);
//creates the temp file for the background
$this->setTmpPaths($tmpImage, $suffix);
$this->tmpFiles[] = $tmpImage->getOutputPath();
return $tmpImage;
}