snipping co-ordinates from images in react
are there any abstractions / libraries for this functionality that any of you guys have worked with by any chance? trying to see if its possible without building something from scratch
flow:
1. user uploads images
2. the images get rendered in the UI
The part I could use some help with:
3. ability to snip areas of the images using click and drag. (there could also be overlaps within the areas)
4. get the list of snips something like this, for each image.
2 Replies
there are libraries like this to render the selections, which will be helpful.. but couldn't find anything to click and make an array like this
https://github.com/img-mapper/react-img-mapper
GitHub
GitHub - img-mapper/react-img-mapper: React Component to highlight ...
React Component to highlight interactive zones in images - img-mapper/react-img-mapper
Bump