Skip to main content
CESDK/Web/Guides/Create a scene

Create a Scene

Learn how to create scenes in the CreativeEditor SDK.

Scenes are the root documents users interact with and there are several ways to create them. On startup, the CreativeEditor SDK can either load a scene or create a scene. Creation may start from scratch or based on an existing image.

Create an empty scene#

If no configuration option specifies a scene to load or an image to reference, the editor will create a default scene consisting of a single page defined by the default page format.

Guides for image based creation#

A scene may be initialized based on an existing image. This means the first page is already prefilled with an image and sized to exactly fit that image. To achieve this, use the initialImageURL configuration option as described in the guides below:

From a remote image URL
How to create a scene based on a remote image.

From a Blob
How to create a scene based on an image Blob.

From an HTMLImageELement
How to create a scene based on an HTMLImageElement.

From an HTMLCanvasElement
How to create a scene based on an HTMLCanvasElement.