In my app I can take a photo from the camera and display it in an imageview, but what I want to be able to do is rescale/resize the resolution of the image so it's not as big and does not take up so much memory in the app.
Here is the code I use for displaying the image in the imageview:
image = [info objectForKey:UIImagePickerControllerOriginalImage];
[ImageView1 setImage:image]; // "ImageView1" name of any UImageView.
[self dismissViewControllerAnimated:YES completion:NULL];
I want the image scaled down as the image can also be sent via email, so it must be nice and small.