# Imagick::getImageOrientation

(PECL imagick 2, PECL imagick 3)

Imagick::getImageOrientation — Gets 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。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open