0

How do I apply a sepia tone to a photo with Cocoa Touch on the iPhone?

www.ruu.cc
  • 445
  • 1
  • 6
  • 16
  • These questions are similar to yours and might be helpful: http://stackoverflow.com/questions/1341716/iphone-how-to-change-the-color-of-an-image and http://stackoverflow.com/questions/1117211/how-would-i-tint-an-image-programatically-on-the-iphone – Brad Larson Mar 10 '10 at 21:11

1 Answers1

0

You'll have to work with the CGImage property of your UIImage. Then, take a look at the reference of the CGImageRef type to learn how you can manipulate single pixels.

Macmade
  • 52,708
  • 13
  • 106
  • 123
  • You can't learn how to manipulate single pixels in the CGImage reference. You need a CGBitmapContext. – kennytm Mar 10 '10 at 18:15