photoeditorsdk

PhotoEditorSDK : export to server without auto download?

故事扮演 提交于 2019-12-11 01:32:16
问题 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. 回答1: I got help from their support, in the configuration guide : https://docs.photoeditorsdk.com/guides/html5/v4-DesktopUI/introduction