Configuration options for Tool.ADUSTMENT
.
Configuration options for Tool.BRUSH
.
Configuration options for Tool.FILTER
.
Configuration options for Tool.FOCUS
.
Configuration options for Tool.FRAME
.
Configuration options for Tool.LIBRARY
.
Configuration options for Tool.OVERLAY
.
Configuration options for Tool.STICKER
.
Configuration options for Tool.TEXT
.
Configuration options for Tool.TEXT_DESIGN
.
Configuration options for Tool.TRANSFORM
.
The base URL for all assets. Should be the absolute path to your assets directory
element querySelector - the element querySelector where the editor should be rendered to DOMElement - The element the editor should be rendered to if HTMLDivElement, component will be rendered to that container This is a required field, no default value
Customization options.
Applicable only to Advanced UI decides which tool to keep open at the beginning
Should a message be displayed when when Photoeditor SDK is exited with close event
Should a message be displayed when when Photoeditor SDK is exited with close event
Should a message be displayed when the image has been scaled down for performance reasons
Should the toolcontrolbartitle be displayed (advancedui only)
Controls if the user can zoom the preview image.
AssetProvider is needed when standalone engine is being used, in case of UIs, Editor does the work of creating assetProvider
When set to true
, the user is forced to crop the asset to one of the allowed crop ratios in
transform.items
before being able to use other features of the editor.
The transform tool will only be presented if the image does not already fit one of the allowed
aspect ratios. It will be presented automatically, if the user changes the orientation of the asset
and the result does not match an allowed aspect ratio.
The image that should be loaded and displayed initially accepts url or HTMLImageElement or imagePath relative to assets folder This is a required field, no default value
Defines the language that should be used to label the user interface.
The layout that should be loaded accepts url or 'advanced' | 'basic'
The PESDK license. If no license (or an invalid license) is provided, the engine will render a watermark over the preview and export output.
Defines all allowed actions for the main screen that are displayed in the given order as buttons on the canvasBar.
relevant only for AdvancedUI
Global snapping options for all sprites, e.g., stickers, texts, and text designs.
Defines the theme that should be used to style the user interface.
The tools to display in the main menu.
Configuration options and asset definitions for image editing tasks.