I am using photoeditorsdk in my Angular app. There is an export to server function in the docs:
editor.export(
PhotoEditorSDK.RenderType.DATAURL,
PhotoEditorSDK.ImageFormat.JPEG,
0.8 // JPEG quality: 80%
).then((dataUrl) => {
// Upload to server
})
I get the image dataUrl
, but the image is also downloaded at the browser. I want to prevent the download.