Re: IOS graphics

2011-07-12 Thread Development
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

Re: IOS graphics

2011-07-11 Thread Mike Abdullah
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

Re: IOS graphics

2011-07-11 Thread Development
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);

Re: IOS graphics

2011-07-11 Thread Steve Christensen
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

IOS graphics

2011-07-10 Thread Development
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