I was afraid of that… The only thing I found that gave me a clue on how to do
that specifically, did a hard freeze on the phone when I attempted to implement
it.
On Jul 11, 2011, at 5:30 PM, Steve Christensen wrote:
The first thing I notice is that none of the CGContext* calls after
Giving us a link to the example code would be a big help in understanding what
you're trying.
On 11 Jul 2011, at 02:06, Development wrote:
Im having a problem with adjusting the color values of a UIImage.
How does one adjust levels and color values of a UIImage.
The example code I found
Sorry I figured since it was only a sudo change anyway it wouldn't matter.
UIImage * drawImage = rotatingView.image;
CGContextRef context = UIGraphicsGetCurrentContext();
CGRect newRect = CGRectMake(0.0, 0.0, rotatingView.frame.size.width,
rotatingView.frame.size.height);
The first thing I notice is that none of the CGContext* calls after
UIGraphicsBeginImageContext is referring to that image context so they are
having no effect on it. You should move the UIGraphicsGetCurrentContext down
after the [drawImage...] call.
If you are still not able to get the
Im having a problem with adjusting the color values of a UIImage.
How does one adjust levels and color values of a UIImage.
The example code I found only overlays a rectangle clipped to an image mask. It
looks like color value adjustment until you realize 2 things.
a) I absolutely cannot render