PHP - Manual: Gmagick::reducenoiseimage
2024-11-15
(PECL gmagick >= Unknown)
Gmagick::reducenoiseimage — Smooths the contours of an image
Smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and Gmagick::reducenoiseimage() selects a suitable radius for you.
radius
The radius of the pixel neighborhood.
The Gmagick object.
错误时抛出 GmagickException。
官方地址:https://www.php.net/manual/en/gmagick.reducenoiseimage.php