/** * Gets the height of the current image resource. * * @return int The height. */ public function getHeight() { return $this->resource->getHeight(); }