Grafika\Imagick\Image::getHeight PHP Method

getHeight() public method

Get image height in pixels.
public getHeight ( ) : integer
return integer
    public function getHeight()
    {
        return $this->height;
    }

Usage Example

Ejemplo 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::getHeight