I'm looking for a good way to modify some elements of UIImage
like brightness, contrast, saturation (for colored images), and colors (colorize).
For now I use per pixel operations but it's not very fast. For each pixel in the image, I modify the color data for contrast, brightness etc. I use some sources from UIImageAdjust for brightness and contrast.
I'm looking for a more effective way to like blending the images with color (a faster way, but i can get what i want with CGBlendMode).
Any ideas ?
Brightness will increase the title exposure on your photo, while contrast makes highlights look brighter and shadows look darker. Saturation adds more pure colors to your photos, and Sharpness turns up clearly details rendered in your images.
The effect of saturation depends on contrast polarity.
SATURATION CONTRAST. Saturation, or quality, relates to the degree of purity of a color. Contrast of saturation is the contrast between pure, intense colors and dull, diluted colors.
Brightness refers to the overall lightness or darkness of the image. Use the Brightness slider to adjust your image's luminosity level. Contrast is the difference in brightness between objects or regions.
Have a look at Apple's demo app GLImageProcessing, it's really fast:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With