Php/docs/gmagick.getsize

来自菜鸟教程
跳转至:导航、​搜索

Gmagick::getsize

(PECL gmagick >= Unknown)

Gmagick::getsizeReturns the size associated with the Gmagick object


说明

public Gmagick::getsize ( ) : array

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


参数

此函数没有参数。


返回值

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


错误/异常

错误时抛出 GmagickException