views:

75

answers:

0

Hi. I have a UIImage with some text I´ve done it creating a RGB Context, after that I use drawinrect method to write the text on that context and finally I create a CGImage with CGBitmapContextCreateImage function. Then I have a black background with white text over. What I want now is to change the white pixels (text) for other value (i.e red) but the result is a deformed text I can´t read. I suppose it´s because the white pixels aren´t completely white and they have a gradient. How can I make this text without gradient? Any help please?

Thank´s.