Imagick::getImageOrientation

(PECL imagick 2, PECL imagick 3)

Imagick::getImageOrientationGets the image orientation

說明

public Imagick::getImageOrientation(): int

Gets the image orientation. The return value is one of the orientation constants.

參數

此函數沒有參數。

返回值

Returns an int on success.

錯誤/異常

錯誤時拋出 ImagickException。