Here is an Image Editor I designed with Anvil. It offers basic editing functions like cropping images and applying a wide range of filters to it.
To achieve this, I used two javascript libraries. One was
Cropper.js (fengyuanchen.github.io)
And the other was
GitHub - tsayen/dom-to-image: Generates an image from a DOM node using HTML5 canvas
I will also shortly release these libraries as custom components because I found them to be quite useful(especially dom-to-image).
Feel free to use any part of my project in your app
https://anvil.works/build#clone:4PP4HDOECUL6IHCH=TEMH47T4PSGODSBKS2IBOH7O