简体   繁体   中英

iOS: how to make an image brighter using imagePicker?

I am making an app that take an photo from the iPad. We want to be able to adjust the contrast and brightness because the image taken seems kinda dim. We thought about Overlay, but it looks like it can't make the image brighter but darker. Any suggestions on how to make it? Thanks in advance.

you can use the category UIImage+Brightness.h provided with UIImageAdjust
the category add to uiimage a very simple methode

- (UIImage*) imageWithBrightness:(CGFloat)brightnessFactor;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM