Aumentar / Disminuir el brillo de un UIImageView

Does anybody know how to change the brightness of a UIImageView in objective-C? Also, is there a way to increase/decrease the size of the UIImage?

preguntado el 28 de agosto de 11 a las 04:08

Have you checked the previous posts of stackoverflow.... You might get the solution. Here is the links: stackoverflow.com/questions/366889/… stackoverflow.com/questions/3779667/… stackoverflow.com/questions/6149884/… -

1 Respuestas

Primero eche un vistazo al sitio web de la página UIImage (void)drawInRect:(CGRect)rect blendMode:(CGBlendMode)blendMode alpha:(CGFloat)alpha method and see what you can create. Otherwise, you are going to have to do some more in depth work increasing the brightness of each pixel in HSV color space (proportionately increasing the V values). By blending the image with a white image using the right blend mode though, you should be able to brighten the UIImage contenido dentro del UIImageView.

EDIT:

Also, as I answered in your other question, the UIImage will scale to fit the UIImageView. The image data itself will not scale, but the onscreen rendering will.

Respondido 28 ago 11, 09:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.