Imagick::getImageGravity
PHP function
Edit on GitHub ✎
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Gets the image gravity
Description
Imagick::getImageGravity(): int
Gets the current gravity value of the image. Unlike Imagick::getGravity(), this method returns the gravity defined for the current image sequence. 0x644
Parameters Parameters
Return Values
Returns the images gravity property. Refer to the list of gravity constants.