Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

when using cropMode and cropSize, images have a blurry/fuzzy look to it. #108

Open
farhan-syed opened this issue Mar 26, 2016 · 0 comments

Comments

@farhan-syed
Copy link

im using my code like so

   UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
        imagePicker.delegate = self;
        imagePicker.allowsEditing = YES;
        imagePicker.cropMode = DZNPhotoEditorViewControllerCropModeSquare;
        imagePicker.cropSize = CGSizeMake(self.view.frame.size.width, 400);
        [imagePicker.navigationBar setTintColor:[UIColor blackColor]];

        imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
        imagePicker.mediaTypes = [NSArray arrayWithObjects:(NSString *)kUTTypeImage, nil];
        [self presentViewController:imagePicker animated:YES completion:nil];

im uploading the data from taking it frominfo[UIImagePickerControllerEditedImage];

*when i remove cropMode and cropSize, it its a clear image.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant