Recently needed to manually edit the pixels on a UIImage so i could apply, in my case, a colourising filter ("colorizing" for most of you reading this!)

Anyway, couldn't find many good tuts on the web, so here we go with my code. Tested and works great in xcode 4.2 / iphone.

Here's my end result. You may recognise a yamaha FZ1N. Lovely bike, wish i'd never sold it:

[[posterous-content:zcsCjEBmvoFkaJktCgqE]]

And here's the code:

Thanks for reading! And if you want to get in touch, I'd love to hear from you: chris.hulbert at gmail.

Chris Hulbert

(Comp Sci, Hons - UTS)

iOS Developer in Sydney.

I have worked at places such as Google, Cochlear, News Corp, Fox Sports, NineMSN, FetchTV, Woolworths, and Westpac, among others. If you're looking for a good iOS developer, drop me a line!

Get in touch:
[email protected]
github.com/chrishulbert
linkedin
my resume



 Subscribe via RSS