Hello All,
I am working on one module where I need to pick image from photo library and draw on view.but whenever I pick the large scale images it always return me 640 *480 scaled image and because of that small image is displayed.
I have made AllowEditing ON.
can anyone help me to find the resolution of original image,so that I can again scale it to original one.
iImagePicker.allowsImageEditing = YES;
- (void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingImage:(UIImage *)image
editingInfo:(NSDictionary *)editingInfo
{
[[iImagePicker parentViewController] dismissModalViewControllerAnimated:YES];
iIsImageSaved = YES;
iSavedImage = [editingInfo objectForKey:@"UIImagePickerControllerOriginalImage"];;
int width,height;
width = iSavedImage.size.width;
height = iSavedImage.size.height;
iApp->ImagePicked(image);
}
Thanks,
Sagar