Gmagick::getsize

(PECL gmagick >= Unknown)

Gmagick::getsizeReturns the size associated with the Gmagick object

說(shuō)明

public Gmagick::getsize(): array

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。