GPUImage 高斯模糊的使用

  GPUImageGaussianBlurFilter *blurFilter =   [[GPUImageGaussianBlurFilter alloc] init];
  blurFilter.blurRadiusInPixels = 2.0;
  UIImage * image = [UIImage imageNamed:@"***"];
  UIImage *blurredImage = [blurFilter   imageByFilteringImage:image];
  self.imageView.image = blurredImage;

很简单哦

你可能感兴趣的:(GPUImage 高斯模糊的使用)