Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface TextureBase64ExtractionOptions

    interface TextureBase64ExtractionOptions {
        compression: 1;
        frame?: Rectangle;
        quality?: number;
        texture?: Texture<Resource> | RenderTexture;
        type?: string;
    }
    Index

    Properties

    compression: 1

    The BASE64 compression mode.

    frame?: Rectangle

    The rectangle which the pixels are extracted from.

    quality?: number

    The optional image quality. Default: 1.

    texture?: Texture<Resource> | RenderTexture

    The texture the pixels are extracted from.

    type?: string

    The optional image mime type. Default: "image/png".