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.
Check the SO post
How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?
Here is the blog post for image manipulation retrieving and updating pixel values for a UIImage
http://brandontreb.com/image-manipulation-retrieving-and-updating-pixel-values-for-a-uiimage/
精彩评论