title: Create image from RGB data?
body: <p>I'm having real trouble with this. I have some raw rgb data, values from 0 to 255, and want to display it as an image on the iphone but can't find out how to do it. Can anyone help? I think i might need to use CGImageCreate but just don't get it. Tried looking at the class reference and am feeling quite stuck.</p>
  
  <p>All I want is a 10x10 greyscale image generated from some calculations and if there is an easy way to create a png or something that would be great.</p>