You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just what the title says. I like Croppr because it's very lightweight, and straight forward. Other cropping libraries are trying to do everything, but all I need is a simple selection like this library provides, however one feature that I would like would be circular selections.
I may try and throw together a PR as well, if I get a chance.
The text was updated successfully, but these errors were encountered:
Hi @timshannon, glad to hear that enjoy Croppr's simplicity. Circular selections will definitely be a great addition with minimal extra code, since some of it can be done simply via CSS and border-radius. However, the dark overlay mechanism will need to be rethought since the CSS clip property doesn't seem to support circular clipping paths. clip-path does, but we will lose IE & Edge support.
I might try to throw something together one of these days, or do feel free to make a PR if you have the time!
Quick and dirty idea: a transparent overlay with border-radius: 50% and box-shadow: 0 0 0 2000px rgba(0,0,0,0.5). Then simply remove border-raidus and uou have a square. But I don't really know, if so huge box-shadow somehow impact performance...
Just what the title says. I like Croppr because it's very lightweight, and straight forward. Other cropping libraries are trying to do everything, but all I need is a simple selection like this library provides, however one feature that I would like would be circular selections.
I may try and throw together a PR as well, if I get a chance.
The text was updated successfully, but these errors were encountered: