¡@

Home 

2014/10/15 ¤U¤È 10:15:04

iphone Programming Glossary: transformedimage

iPhone - Mirroring back a picture taken from the front camera

http://stackoverflow.com/questions/5505422/iphone-mirroring-back-a-picture-taken-from-the-front-camera

may I restore the on screen view of the UIImage not the UIImageView and be able to save it like this I tried UIImage transformedImage UIImage imageWithCGImage pickedImage.CGImage scale 1.0 orientation UIImageOrientationLeftMirrored UIImageWriteToSavedPhotosAlbum.. pickedImage.CGImage scale 1.0 orientation UIImageOrientationLeftMirrored UIImageWriteToSavedPhotosAlbum transformedImage self @selector photoSaved didFinishSavingWithError contextInfo nil then putting it on screen. It is nearly the same as seen.. this I also tried this way UIImage pickedImage info objectForKey UIImagePickerControllerOriginalImage retain UIImage transformedImage CGSize imageSize pickedImage.size UIGraphicsBeginImageContextWithOptions imageSize YES 1.0 GContextRef ctx UIGraphicsGetCurrentContext..