Gmagick
PHP 手册

Gmagick::spreadimage

(PECL gmagick >= Unknown)

Gmagick::spreadimageRandomly displaces each pixel in a block

说明

public Gmagick Gmagick::spreadimage ( float $radius )

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

参数

radius

Choose a random pixel in a neighborhood of this extent.

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException


Gmagick
PHP 手册