HaruImage
PHP Manual

HaruImage::getSize

(PECL haru:0.0.1)

HaruImage::getSizeGet size of the image

Description

array HaruImage::getSize ( void )

Get the size of the image.

Parameters

This function has no parameters.

Return Values

Returns an array with two elements: width and height, which contain appropriate dimensions of the image.

Errors/Exceptions

Throws HaruException on error.


HaruImage
PHP Manual