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

Imagick::swirlImage()

Imagick::swirlImage - Swirls the pixels about the center of the image

Syntax

bool Imagick::swirlImage (float $degrees)

Arguments

  • degrees

Description

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.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.