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

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".