设置我正在使用的 UIImage 的亮度
CGFloat brightness = 2.0;
UIGraphicsBeginImageContext(self.Input_Image.size);
CGRect imageRect = CGRectMake(0, 0, self.Input_Image.size.width, self.Input_Image.size.height);
CGContextRef context = UIGraphicsGetCurrentContext();
// Original image
[self.Input_Image drawInRect:imageRect];
// Brightness overlay
CGContextSetFillColorWithColor(context, [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:brightness].CGColor);
CGContextAddRect(context, imageRect);
CGContextFillPath(context);
UIImage* resultImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
但是大图像的应用程序变得很慢......任何人都可以帮助我吗?提前致谢 ..