Search Docs
Loading...
Skip to content

Overview

CreativeEditor SDK (CE.SDK) exports Android designs to formats such as PNG, PDF, SVG, and MP4 so your app can prepare assets for sharing, printing, storage, or publishing workflows.

You can trigger conversions programmatically with the Android Engine API or let users start exports through the editor UI.

Explore Demos

Get Started

Supported Input and Output Formats#

CE.SDK accepts a range of input formats when working with designs, including:

CategorySupported Formats
Images.png, .jpeg, .jpg, .gif, .webp, .svg, .bmp
Video.mp4 (H.264/AVC, H.265/HEVC), .mov (H.264/AVC, H.265/HEVC)
Audio.wav, .mp3, .m4a, .mp4 (AAC or MP3), .mov (AAC or MP3)
Animation.json (Lottie)

When it comes to exporting or converting designs, the SDK supports the following output formats:

CategorySupported Formats
Images.png, .jpeg, .tga
Vector.svg with text exported as paths
Print.pdf with compatibility and underlayer options
Video.mp4
Sceneserialized scene strings for .scene workflows
Blocksproprietary block strings or block archive entries such as blocks.blocks
Archive.zip archives with scenes or blocks and their assets
Raw Databinary RGBA8888 image data through MimeType.BINARY

Each format serves different use cases, giving you the flexibility to adapt designs for your application’s needs.

Conversion Methods#

Use the conversion path that matches how much control your Android app needs over the export workflow.

MethodAndroid APIUse it for
Programmatic image, vector, PDF, or raw binary exportengine.block.export(...)Exporting a scene, page, group, or block from Kotlin with a selected MimeType and optional ExportOptions.
Programmatic video exportengine.block.exportVideo(...)Exporting a page timeline to MP4 while receiving progress updates.
Scene and block serializationengine.scene.saveToString(scene=_), engine.scene.saveToArchive(scene=_), engine.block.saveToString(blocks=_), engine.block.saveToArchive(blocks=_)Persisting editable CE.SDK content either as a serialized scene string or archive, or as proprietary block data or a block archive.
Color-mask exportengine.block.exportWithColorMask(...)Creating image data plus a mask for workflows that need a separate color mask.
Editor UI exportonExport / built-in export actionLetting users export from the Android editor UI while your app controls the final export handling.

Programmatic exports return binary data that your app can write to storage, upload, share, or pass to another workflow. UI-driven exports are useful when the editor should remain user-facing and the app only needs to customize what happens after the user taps export.

Customization Options#

Android exports combine scene-level settings with ExportOptions for static formats and ExportVideoOptions for MP4 output.

OptionApplies toPurpose
targetWidth / targetHeightStatic and video exportsRender output at a specific size while preserving the block aspect ratio.
scene/dpiScene exports and design unitsSet print metadata and the pixel-to-inch or millimeter conversion, either while creating an image scene with engine.scene.createFromImage(imageUri = imageUri, dpi = 300F) or later with engine.block.setFloat(block = scene, property = "scene/dpi", value = 300F).
pngCompressionLevelPNGBalance file size and encode time without changing visual quality.
jpegQualityJPEGControl compression quality for JPEG exports.
exportPdfWithHighCompatibilityPDFRasterize effects and images for broader PDF viewer compatibility.
exportPdfWithUnderlayer and underlayer settingsPDFGenerate print underlayers for production workflows that require them.
frameRate, bitrate, and H.264 settingsMP4Tune video export quality, size, and encoding behavior.

Check engine.editor.getMaxExportSize() before large raster exports so the requested dimensions stay within the device-supported export limit. Use targetWidth and targetHeight for explicit pixel dimensions; changing scene/dpi does not replace those pixel-size controls.