Possible Duplicate:
How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?
I want to get a UIImage
's pixel values as an array. I am really searching for a predefined function like getallPixel(theImage)
. How can I figure this out? Any help is appreciated.