protected function supportedFormatCheck() { switch ($this->
image()->imageType
) { case IMAGETYPE_WEBP:
if (!
in_array('WEBP', Imagick::
queryFormats(), true
)) { throw ImageException::
forInvalidImageCreate(lang('images.webpNotSupported'
));
} break;
} } /**
* Handler-specific method for overlaying text on an image.
*
* @return void
*
* @throws Exception
*/