0

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.

Community
  • 1
  • 1
Sat
  • 1,616
  • 3
  • 22
  • 40

1 Answers1

2

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/

Community
  • 1
  • 1
Jhaliya - Praveen Sharma
  • 31,697
  • 9
  • 72
  • 76