Search Docs
Loading...
Skip to content

File Format Support

CreativeEditor SDK (CE.SDK) supports a wide range of modern file types for importing assets and exporting final content. Whether you’re working with images, videos, audio, documents, or fonts, CE.SDK provides a client-side editing environment with excellent media compatibility and performance—optimized for modern client-side hardware.

This guide outlines supported formats, codecs, and known limitations across media types.

Importing Media#

Category Supported Formats
Images .png, .apng, .jpeg, .jpg, .gif, .webp, .svg, .bmp
Video .mp4 (H.264/AVC, H.265/HEVC), .mov (H.264/AVC, H.265/HEVC), .webm (VP8, VP9, AV1)
Audio .wav, .mp3, .m4a, .mp4 (AAC or MP3), .mov (AAC or MP3), .webm (Opus or Vorbis)
Animation .json (Lottie), .lottie (dotLottie)

Animated images (.gif and .apng) import as a static first frame in design scenes and as a looping video fill in video scenes. A Lottie .json file or a dotLottie .lottie archive set as a video fill plays as one block.

SVG Limitations#

CE.SDK uses Skia for SVG parsing and rendering. While most SVG files render correctly, there are some important limitations to be aware of:

Text Elements#

  • Text draws in a font of its font-family when the scene or a font asset source has one, in the closest weight and style.
  • Any other family draws in the engine’s default font, so the text keeps its position but may look different. Convert text to paths in your vector editor when its exact look matters.
  • Only the first entry of a font-family list counts, and later entries never match. Roboto, Arial, sans-serif looks for Roboto, then uses the default font. A generic first entry is the exception: serif, monospace and cursive draw in Source Serif Pro, Source Code Pro and Caveat when a font asset source has them.
  • SVG text uses the fallback fonts of text blocks. An emoji draws in the emoji font (defaultEmojiFontFileUri). Another character that the font does not have draws in fallbackFontUri, or in an IMG.LY hosted fallback font when useSystemFontFallback is on. A character that no fallback font has draws as the missing-character mark of the font. Arabic and Hebrew text draws from right to left.
  • Text in an SVG cannot be edited. It draws as part of the image.

Styling Limitations#

  • CSS rules in <style> elements apply to type, class and ID selectors, *, combinations of these such as rect.logo, descendant and child combinators, and comma-separated lists of them. Rules inside @media screen and @media all apply too.
  • CSS rules with attribute selectors, pseudo-classes or sibling combinators, media queries with features or not, and other at-rules, are ignored - use presentation attributes instead.
  • A file whose CSS rules would need more than about 33 million matching steps fails to load.
  • Colors take the CSS forms that browsers draw, such as rgb() with alpha, hsl(), oklch(), color(display-p3 …) and color-mix(). Relative colors such as rgb(from red r g b), and calc() inside a color, are not supported.
  • When exporting SVGs from design tools, choose the “presentation attributes” option.

Unsupported SVG Elements#

The following SVG elements are not supported:

  • Animation elements (<animate>)
  • Foreign object (<foreignObject>)
  • Text-related elements (<altGlyph>, <font>, <glyph>)
  • Script elements (<script>)
  • Some filter elements (<feComponentTransfer>, <feConvolveMatrix>, <feTile>, <feDropShadow>)
  • <feImage> with an SVG

Exporting Media#

Category Supported Formats
Images .png (with transparency), .jpeg, .webp, .tga
Vector .svg (scalable vector graphics with text as paths)
Print .pdf (supports underlayer printing and spot colors)
Video .mp4 (H.264 or H.265 on supported platforms with limited transparency support), .webm (VP8, VP9 or AV1 with Opus or Vorbis audio; VP8 and VP9 keep transparency on Android, iOS and macOS)
Scene .imgly or .scene (description of the scene without any assets)
Archive .imgly or .zip (fully self-contained archive that bundles the scene file with all assets)

On Android, engine.block.exportAudio() also exports audio as .wav (MimeType.AUDIO_WAV), .m4a with AAC (MimeType.AUDIO_MP4) or .webm with Opus (MimeType.AUDIO_WEBM). See Export for Audio Processing.

Importing Templates#

Format Description
.idml InDesign (via @imgly/idml-importer)
.psd Photoshop (via @imgly/psd-importer)
.pdf PDF (via @imgly/pdf-importer)
.pptx PowerPoint (via @imgly/pptx-importer)
.imgly CE.SDK Native (scene or archive, detected automatically)
.scene CE.SDK Native (scene extension)
.zip CE.SDK Native (archive extension)

Non-native design files are converted into editable CE.SDK scenes by dedicated importer packages rather than uploaded as media assets.

See Import and Export for how these import and export workflows fit together.

Font Formats#

Format Description
.ttf TrueType Font
.otf OpenType Font
.woff Web Open Font Format
.woff2 Compressed Web Open Font Format 2

Video & Audio Codecs#

CE.SDK supports the most widely adopted video and audio codecs to ensure compatibility across platforms:

Video Codecs#

  • H.264 / AVC (in .mp4)
  • H.265 / HEVC (in .mp4, may require platform-specific support)
  • VP8, VP9, AV1 (in .webm). 10-bit VP9 and AV1 videos show with SDR colors.

Audio Codecs#

  • MP3 (in .mp3 or within .mp4)
  • AAC (in .m4a or within .mp4 or .mov)
  • Opus (within .webm or .mp4)
  • Vorbis (within .webm)

These codecs apply to importing media. For export, CE.SDK produces MP4 with H.264 (H.265 only on supported browser and mobile platforms) and WebM with VP8, VP9 or AV1. The native engine of @cesdk/node exports H.264 video with AAC audio, or WebM.

Size Limits#

Image Resolution Limits#

Constraint Recommendation / Limit
Input Resolution Maximum input resolution is 4096×4096 pixels. Images from external sources (e.g., Unsplash) are resized to this size before rendering on the canvas. You can modify this value using the maxImageSize setting.
Output Resolution A PNG, JPEG, WebP, TGA or raw export renders in strips. Only its format limits each side: JPEG 65,500, WebP 16,383 and TGA 65,535 pixels. A buffered export must also give a file under 4 GiB. A color mask export and the layers of a PDF stay within getMaxExportSize(). So does a PNG, JPEG or WebP export with outputProfileMode or embedProfiles.

All image processing in CE.SDK happens on the device running the engine, so the input limit depends on the maximum texture size supported by its hardware. The default limit of 4096×4096 is a safe baseline that works universally. Higher input resolutions (e.g., 8192×8192) may work on certain devices but could fail on others. WebP and TGA exports hold all pixels until the end, so they also need the memory of the whole image.

Video Resolution & Duration Limits#

Constraint Recommendation / Limit
Resolution Up to 4K UHD is supported for playback and export on capable devices, bounded by GPU texture size and available memory. For import, CE.SDK does not impose artificial limits, but maximum video size is bounded by available device memory and the native media framework’s decoder capabilities. The maximum export dimension varies by device and can be queried via engine.editor.getMaxExportSize().
Frame Rate 30 FPS at 1080p is broadly supported; 60 FPS and high-resolution exports benefit from hardware acceleration via the device’s native media frameworks.
Duration Stories and reels of up to 2 minutes are fully supported. Longer videos are also supported, but we generally found a maximum duration of 10 minutes to be a good balance for a smooth editing experience and a pleasant export duration of around one minute on modern hardware.