Image::height

Get the height in pixels of the current image

2.8M Downloads / Month

Open Source MIT License

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

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

See also

Edit