Created
August 17, 2012 06:58
-
-
Save mrsidique/3376616 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info | |
| { | |
| image = [info objectForKey:@"UIImagePickerControllerOriginalImage"]; | |
| image = [[UIImage alloc]initWithCGImage:image.CGImage scale:.25 orientation:UIImageOrientationRight]; | |
| dataObj = UIImageJPEGRepresentation(image, .1); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment