title: Pixel data of an image
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics">How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to get a <code>UIImage</code>'s pixel values as an array. I am really searching for a predefined function like <code>getallPixel(theImage)</code>. How can I figure this out? Any help is appreciated.</p>