protected createImage ( $width, $height, $color = "transparent" ) : |
||
$width | ||
$height | ||
return |
protected function createImage($width, $height, $color = "transparent")
{
$newImage = new \Imagick();
$newImage->newimage($width, $height, $color);
$newImage->setImageFormat($this->resource->getImageFormat());
return $newImage;
}