src/classes/CCImage.php
public function blur( $ratio = 5 ) 
	{
		for ($x=0; $x<$ratio; $x++) 
		{
			imagefilter($this->image_context, IMG_FILTER_GAUSSIAN_BLUR);
			//$gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 1.0, 2.0), array(1.0, 2.0, 1.0));
			//imageconvolution($this->image_context, $gaussian, 16, 0);
		}

		return $this;
	}
public function blur( $ratio = 5 ) 
	{
		for ($x=0; $x<$ratio; $x++) 
		{
			imagefilter($this->image_context, IMG_FILTER_GAUSSIAN_BLUR);
			//$gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 1.0, 2.0), array(1.0, 2.0, 1.0));
			//imageconvolution($this->image_context, $gaussian, 16, 0);
		}

		return $this;
	}
public function blur ( $ ratio = 5 ) { for ( $ x = 0 ; $ x < $ ratio ; $ x ++ ) { imagefilter ( $ this -> image_context , IMG_FILTER_GAUSSIAN_BLUR ) ; //$gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 1.0, 2.0), array(1.0, 2.0, 1.0)); //imageconvolution($this->image_context, $gaussian, 16, 0); } return $ this ; }
Blur the image using the gaussian blur.

@param int 			$ratio
@return self
Blur the image using the gaussian blur .