If you are talking about just the UIImage which doesnt contain metadata its just a matter of starting creating a graphics context and calling the uiimage draw in context method:
- (UIImage*)resizeImage:(UIImage*)jpeg withSize:(CGSize)newSize
{
UIGraphicsBeginImageContextWithOptions(newSize, NO, 0.0);
[jpeg drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];
UIImage *resizedImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return resizedImage;
}
IF what you want is to resize images that contain metadata like read from the disk or something, perform the previews method and when re-saving use the original source dictionary.