Reputation: 71
I am looking for a image library with React. What I want to do is that there is a fixed editor and I can move and resize the image behind the editor and if the image in the editor is what I want, then I get fixed image's baseUrl. I found a few libraries, but those are only giving cropped function not moving or resizing image. I hope to find out cropped image library plus that can move or resize image.
Upvotes: 1
Views: 7097
Reputation: 871
There is a lot of packages around, the most recommended one is react-avatar-image-cropper.
Have a look at it: https://www.npmjs.com/package/react-avatar-image-cropper
Upvotes: 0
Reputation: 166
Check out https://www.npmjs.com/package/react-avatar-editor
Sounds like what you're describing, including the base64 export.
Upvotes: 1