HaruImage
PHP 手册

HaruImage::getWidth

(PECL haru >= 0.0.1)

HaruImage::getWidthGet the width of the image

说明

int HaruImage::getWidth ( void )

Get the width of the image.

参数

This function has no parameters.

返回值

Returns the width of the image.

错误/异常

Throws HaruException on error.


HaruImage
PHP 手册