I\'m building an Iphone app that needs to convert a UIImage to a CGImageRef. I have no idea how to do this and would love some help. I have no background in working with images.
CGImageRef cgImage = [someImage CGImage];