Dutch PHP Conference 2025 - Call For Papers

Imagick::getImageGravity

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::getImageGravityGets the image gravity

Опис

public 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. Цей метод доступний, якщо Imagick зібраний з ImageMagick версії 6.4.4 або новішою.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the images gravity property. Refer to the list of gravity constants.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top