How to save image after edit in iphone sdk?
<p>I want to save the rotated image to the photo library. I have a UIImageView in which the image is displayed. I used the below snippet to flip the image. The rotated image does get displayed since I transform the image view. But while saving the image I get the original image (not flipped). How do I save a flipped image?</p>

<pre><code>CGAffineTransform transform =  CGAffineTransformMakeRotation(DEGREES_TO_RADIANS(degrees));
   image.transform = transform;
</code></pre>
