Gmagick
PHP 手册

Gmagick::getsize

(PECL gmagick >= Unknown)

Gmagick::getsizeReturns the size associated with the Gmagick object

说明

public void Gmagick::getsize ( void )

Returns the size associated with the Gmagick object as an array with the keys "columns" and "rows".

参数

This function has no parameters.

返回值

Returns the size associated with the Gmagick object as an array with the keys "columns" and "rows".

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册