Skip to content

gif2video ​

Type Aliases ​

Type AliasDescription
Gif2VideoFormatOne of the GIF2VIDEO_FORMATS values.
Gif2VideoQualityOne of the GIF2VIDEO_QUALITIES presets.

Variables ​

VariableDescription
formatOutput format (CDN default mp4). Unlike full video conversion, ogg is not available here.
GIF2VIDEO_FORMATSOutput formats accepted by format.
GIF2VIDEO_QUALITIESQuality presets accepted by quality. Intentionally mirrors the video conversion presets (no smart/smart_retina image presets here).
qualityOutput quality preset (CDN default normal).

Functions ​

FunctionDescription
gif2videoUrlBuilds an on-the-fly gif2video CDN URL: /:uuid/gif2video/-/.../ (note: no -/ between the uuid and the prefix). The source file must be an animated image.

References ​

LEGACY_CDN_BASE ​

Re-exports LEGACY_CDN_BASE


PREFIX_CDN_BASE ​

Re-exports PREFIX_CDN_BASE