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, documents, or fonts, CE.SDK provides an editing environment with excellent media compatibility and performance—optimized for modern hardware.

This guide outlines supported formats 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)

Animated images (.gif and .apng) import as a static first frame in design scenes and as a looping video fill in video scenes.

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 video with AAC audio; requires the native engine, not available on the WASM engine)
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)
HTML .html (static designs and animated video timelines — requires the separate @imgly/html-exporter package)

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. To add single PDF pages to a design that is already open, see Place PDF Pages in a Design.

Font Formats#

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

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 Limits#

Constraint Recommendation / Limit
Resolution Up to 4K UHD is supported for playback and export, depending on the user’s hardware and available GPU resources. For import, CE.SDK does not impose artificial limits, but maximum video size is bounded by available memory: WASM-based builds (the browser and the WASM engine of @cesdk/node) are limited by the 32-bit address space of WebAssembly (wasm32) and, in the browser, by the engine’s memory limit (4 GB on desktop, 2 GB on phones and tablets), while native builds such as the native engine of @cesdk/node can use the full process memory.
Frame Rate 30 FPS at 1080p is broadly supported; 60 FPS and high-res exports benefit from hardware acceleration
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.

Codecs#

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.