Gmagick::spreadimage

(PECL gmagick >= Unknown)

Gmagick::spreadimageRandomly displaces each pixel in a block

Description

public Gmagick::spreadimage ( float $radius ) : Gmagick

Special effects method that randomly displaces each pixel in a block defined by the radius parameter.

Parameters

radius

Choose a random pixel in a neighborhood of this extent.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.spreadimage.php