Back to Image class

Method getHeight

public int
getHeight
()
Method to get the height of the image in pixels.
Returns
  • int
Since
  • 2.5.0
-
  • \LogicException
Class: Image
Project: Joomla

Method getHeight - Source code

/**
 * Method to get the height of the image in pixels.
 *
 * @return  integer
 *
 * @since   2.5.0
 * @throws  \LogicException
 */
public function getHeight()
{
    return imagesy($this->getHandle());
}