You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most basic approach would be I guess, if the saveImage method would not only provide the base64 encoded image data, but also the cropping parameters. Then the user of your library can decide if they upload the base64 or just the cropping parameters to some user-made server$ function. The user could then implement the cropping on the server with sharpjs or so.
As a start, instead of returning the image with getCroppedCanvas().toDataURL(), we could return the crop properties.
The text was updated successfully, but these errors were encountered:
Suggested by @katywings
As a start, instead of returning the image with
getCroppedCanvas().toDataURL()
, we could return the crop properties.The text was updated successfully, but these errors were encountered: