PHP
Image/GraphicsMagick

Gmagick::swirlimage

Gmagick::swirlimage

(PECL gmagick >= Unknown)

Gmagick::swirlimage — Swirls the pixels about the center of the image

Description

public Gmagick Gmagick::swirlimage ( float $degrees )

Swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.

Parameters

degrees

Define the tightness of the swirling effect.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::stripimage

Gmagick::thumbnailimage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagick.swirlimage.php