if (empty($this->image
)) { throw ImageException::
forMissingImage();
} // Verify the loaded image is an Image instance
if (!
$this->image instanceof Image
) { throw ImageException::
forInvalidPath();
} // File::__construct has verified the file exists - make sure it is an image
if (!
is_int($this->image->imageType
)) { throw ImageException::
forFileNotSupported();
} // Note that the image has been verified
$this->verified = true;
return $this->image;
} /**
* Returns the temporary image used during the image processing.
* Good for extending the system or doing things this library
* is not intended to do.
*
* @return resource
*/