GPUImageGaussianBlurFilter *blurFilter = [[GPUImageGaussianBlurFilter alloc] init];
blurFilter.blurRadiusInPixels = 2.0;
UIImage * image = [UIImage imageNamed:@"***"];
UIImage *blurredImage = [blurFilter imageByFilteringImage:image];
self.imageView.image = blurredImage;
很简单哦
网友评论