Home > PHP > Function > > Imagick::getImageOrientation()

Imagick::getImageOrientation()

Imagick::getImageOrientation - Gets the image orientation

Syntax

int Imagick::getImageOrientation ()

Arguments

-

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns an int on success. Throw an ImagickExceptionon error.