PESDK/Server/Introduction
Export
Learn how to change the export options on runtime.
With version v4.23.0 of the Server it is now possible to change the export options on runtime.
- pesdkServer.render(configuration)+ pesdkServer.deserialize(configuration).then(() => pesdkServer.export(false, options))
Available Options:
optionsObjectformatString - The mime type of the exported image. Defaults toimage/png. Available formats vary by browser.typePhotoEditorSDK.RenderType - Specifies the export type (image or data url)downloadBoolean - Should a download dialog be displayed on export?fileBasenameString - The base file name, defaults tophotoeditorsdk-exportqualityNumber - JPEG quality, defaults to 0.8