php8.5
Home/ Manual/ imagick / imagick/ Imagick::getImageOrientation

Imagick::getImageOrientation

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Gets the image orientation

Description

Imagick::getImageOrientation(): int

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

Parameters Parameters

Return Values

Returns an int on success.

Errors/Exceptions

Throws

Source: reference/imagick/imagick/getimageorientation.xml · from the official PHP manual (php/doc-en)