We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to use a circle overlay as a crop guide?

Thread ID:

Created:

Updated:

Platform:

Replies:

143066 Mar 3,2019 06:55 PM UTC Mar 6,2019 03:07 PM UTC Xamarin.Forms 1
loading
Tags: SfImageEditor
Dhiren Sham
Asked On March 3, 2019 06:55 PM UTC

The current trend is for many user-selectable images, e.g. profile pictures, to be displayed in a circle rather than a rectangle. It would be great if there was an option for the crop guide overlay to be a circle instead of a rectangle so the user can ensure that their image content won't be cut off by the clipping of the circle. Obviously in this case, the image would actually crop to the bounding square around the circle, but having the crop guide overlay a circle would eliminate the guess-work around whether important bits will fall within the circle or not.
Is this possible via a work-around currently? Is this something you would consider adding to the image editor control?

Santhiya Arulsamy [Syncfusion]
Replied On March 6, 2019 03:07 PM UTC

Hi Dhiren, 

Greetings from Syncfusion. 

Currently we don’t have to support to show the crop preview as circle instead of rectangle. We would like to suggest SfBorder control for rounded image. You can crop the image from ImageEditor and save the image then load the saved image within the SfBorder control and set the CornerRadius of the control to get the rounded image. 

We have prepared the sample for your reference. Please find the sample from the following location. 



Please refer the following UG link for more information. 


Thanks, 
Santhiya A 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;