Imagick::getImageOrientation

(PECL imagick 2, PECL imagick 3)

Imagick::getImageOrientationGets the image orientation

說(shuō)明

public Imagick::getImageOrientation(): int

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

參數(shù)

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

返回值

Returns an int on success.

錯(cuò)誤/異常

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