Xam.Plugins.ImageCropper circle cropper RRS feed

  • Question

  • User265270 posted

    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?


    Tuesday, April 11, 2017 7:40 AM

All replies

  • User180523 posted


    Tuesday, April 11, 2017 9:06 AM
  • User265270 posted

    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?

    Tuesday, April 11, 2017 9:13 AM
  • User180523 posted

    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.

    Tuesday, April 11, 2017 9:24 AM
  • User312280 posted

    @AMAX for Circular Cropped Image (in iOS)

    Add TOCropViewController picker = new TOCropViewController(TOCropViewCroppingStyle.Circular, image); in > ViewDidAppear method

    Tuesday, June 20, 2017 6:32 AM
  • User23595 posted

    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)

    Thursday, August 24, 2017 4:44 AM
  • User2773 posted

    I released image cropper today, maybe it would useful for you. https://twitter.com/daniel_luberda/status/935940412879065092

    Wednesday, November 29, 2017 6:54 PM