@dusrel/image API
    Preparing search index...

    Function encode

    • Encodes same-sized RGBA frames into an animated GIF with the Rust gif crate. GIF colour is palette-based (<= 256 colours per palette) and alpha is binary: fully transparent pixels become the transparent slot, everything else is opaque.

      Parameters

      Returns Promise<Uint8Array<ArrayBufferLike>>