Sanity Library Reference Docs
    Preparing search index...

    Interface AnimatedTransformOptions

    Animated preview rendition options (e.g. GIF / animated WebP).

    interface AnimatedTransformOptions {
        end?: number;
        format?: AnimatedImageFormat;
        fps?: number;
        height?: number;
        start?: number;
        width?: number;
    }
    Index

    Properties

    end?: number

    End time in seconds.

    Output animated format.

    fps?: number

    Frames per second (1–30).

    height?: number

    Pixel height of the animated output. Max 640 px.

    start?: number

    Start time in seconds (inclusive).

    width?: number

    Pixel width of the animated output. Max 640 px.