haru
PHP Manual

HaruImage::getSize

(PECL haru:0.0.1)

HaruImage::getSize — Get size of the image

说明

array HaruImage::getSize ( void )

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

错误/异常

Throws HaruException on error.


haru
PHP Manual