I want to change the design for border corner of BJImageCropper like this Sample Image, can anyone help me on this ?
Currently I am using this code for initialize BJImageCropper :
self.imageCropper = [[BJImageCropper alloc] initWithImage:self.image andMaxSize:CGSizeMake(750,350)];
self.imageCropper.center = self.cropView.center;
self.imageCropper.imageView.layer.shadowColor = [[UIColor blackColor] CGColor];
self.imageCropper.imageView.layer.shadowRadius = 3.0f;
self.imageCropper.imageView.layer.shadowOpacity = 0.8f;
self.imageCropper.imageView.layer.shadowOffset = CGSizeMake(1, 1);
[self.imageCropper addObserver:self forKeyPath:@"crop" options:NSKeyValueObservingOptionNew context:nil];
If there is any other framwork for image cropping that has the border corner like the sample image ,that might help also.
I have used BFCropInterface, which is actually modified version of BJImageCropper. You will get all delegate methods of BJImageCropper in BFCropInterface.
Replaced below portion in BFCropInterface.m
With This :
where .pngs are something like
And have implemented the framework in my code using :
increase the value of
nodeRadiusto increase the size of corner image .