I’d like my users to crop images I present to them. Does anyone know of a solution for that?
I found dash-canvas but it is obsolete, and I’m not sure how the recommended image annotations replacement helps.
Specifically, the UX I’m looking to build is:
- Present an image to the user
- Also present a selection rectangle with a constant aspect ratio
- The user should be able to move the rectangle over the picture
- The user should be able to resize the rectangle (aspect ratio remains constant and is not user changeable)
- The user clicks “done” and the callback has access to the selection rectangle values
Is there any widget/library that is relatively close to implementing the building blocks for the above?