Imagick::getImageWidth

(PECL imagick 2, PECL imagick 3)

Imagick::getImageWidthReturns the image width

說明

public Imagick::getImageWidth(): int

Returns the image width.

參數

此函數沒有參數。

返回值

Returns the image width.

錯誤/異常

錯誤時拋出 ImagickException。