smooth() public static method

public static smooth ( integer $smooth ) : integer
$smooth integer
return integer
Beispiel #1
0
 /**
  * Smooth effect
  *
  * @param resource $image  Image GD resource
  * @param int      $passes Number of times to apply the filter (1 - 2048)
  */
 public static function smooth($image, $passes = 1)
 {
     imagefilter($image, IMG_FILTER_SMOOTH, Helper::smooth($passes));
 }