-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can I save the circle cropped image as circle ( other parts are transparent ) instead of rectangle? #168
Comments
It is not a feature of this directive. From the documentation:
I would second that recommendation because doing a css border radius is much cleaner and future-proofs your images. |
@tsl8r Mine scenario is different. My website allows a user to upload a file, crop it, and add the output to a canvas. So I need to save it as circle, or event fancy as an ellipse. |
@astw Got it, so the user is actually downloading the file locally as a circle? |
@tsl8r Yes, the user is getting an image as a circle. |
This would be more in the fashion of image manipulation. Instead of getting a library to do this custom bit, why don't you do the custom part yourself via a geometry hack?
?? IDK, that might be faster than waiting on another library to come out and support what you are trying to do. Additionally, I have to imagine that this is already supported in some other libraries... why not look there instead? |
I need to crop the image into a circle, and save only the circled part, other parts outside the circle should be saved as transparent. How can I do that?
The text was updated successfully, but these errors were encountered: