I’m writing an image crop tool. I want to send just the cropped image to the backend. This would be easy with canvas: put the image in canvas with the
drawImage() function, then call
I could use a port, but then I could never release this as a library. In Elm 0.18 libraries had access to native functions, which are gone too. I.e. Elm-Canvas is out of the question.
Is there any other method for me to extract a bitmap from the screen in Elm?