---
application: "Intervention Image"
version: "Version 2"
status: "eol"
---

# Image::height

## Get the height in pixels of the current image



> public Intervention\Image\Image height()

Returns the height in pixels of the current image.

### Parameters

none

### Return Values
Height of current image as integer

### Examples

```php
// read height of image
$height = Image::make('public/foo.jpg')->height();
```

## See also

- [width](https://image.intervention.io/v2/api/width.md)

---

## Become a Sponsor

### Intervention Image needs your help to keep the project going

Intervention Image is non-commercial, open source licensed and completely free to use. The considerable
effort required to maintain and develop the software is only possible with the financial support
of sponsors. There are two ways in which you can support this project.

- Support via [GitHub Sponsors](https://github.com/sponsors/Intervention)
- Support via [Ko-Fi](https://ko-fi.com/interventionphp)