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".

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 GmagickException。