This is a simple react component used to crop avatar image.
The cropper works best in a fixed-size container.
This component is purely created for my own convenience, as none of the existing avatar croppers offers all of the following functions:
- move on drag
- zoom by touch and wheel
- rotate by touch and wheel
- rounded preview
- easy method to retrieve the final image in the Base64 format
I made the component based on my current requirements. There may be breaking changes in the future as my requirements change. Any suggestion that helps formalizing this component is welcome.
The versioning will fowllow semver 2.0.