2

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.

Shaniqwa
  • 1,924
  • 2
  • 17
  • 29

1 Answers1

3

I got help from their support, in the configuration guide : https://docs.photoeditorsdk.com/guides/html5/v4-DesktopUI/introduction/configuration at the bottom is the export object, just need to pass download: false.

Shaniqwa
  • 1,924
  • 2
  • 17
  • 29