Grafika\Imagick\Image::getCore PHP Method

getCore() public method

Get Imagick instance
public getCore ( ) : Imagick
return Imagick
    public function getCore()
    {
        return $this->imagick;
    }

Usage Example

Esempio n. 1
0
 /**
  * @param Image $image
  *
  * @return Image
  */
 public function apply($image)
 {
     $size = $this->amount;
     $width = $image->getWidth();
     $height = $image->getHeight();
     $image->getCore()->scaleImage(max(1, $width / $size), max(1, $height / $size));
     $image->getCore()->scaleImage($width, $height);
     return $image;
 }
All Usage Examples Of Grafika\Imagick\Image::getCore