I used Xam.Plugins.ImageCropper pluggins to crop image after taking a camera shots,
Anyone knows how to modify the SQUARE cropper and change it to CIRCLE like image below?
Thanks Clint StLaurent, What i want to do is modify the default cropping (Square) and change it to circle (Like image above).
can i use this to modify the cropping indicator?
I only took a 10 second look at the github repo, but it looks like the author supplied jars/libs for this and not raw code - so you're not going to get in an modify it.
Plan B - Write your own cropping code.
If you think about it, you're not cropping as you move the handles. You just need to draw a big black box, with a transparent circle then the white cropping box. You don't have to actually crop until the user hits the 'done' or 'apply' button. Its 90% renderer and 10% image crop logic.
@AMAX for Circular Cropped Image (in iOS)
Add TOCropViewController picker = new TOCropViewController(TOCropViewCroppingStyle.Circular, image);
in > ViewDidAppear method
TOCropViewController picker = new TOCropViewController(TOCropViewCroppingStyle.Circular, image);
I couldn't find the CropImageView in the sample. Getting the build error
The type or namespace name 'CropImageView' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Xam.Plugins.ImageCropper.Sample.Droid)
I released image cropper today, maybe it would useful for you.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies