@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface ImageOptions

    Options of Ui.image and Ui.remoteImage.

    1.5.19

    interface ImageOptions {
        maxSide?: number;
    }
    Index
    maxSide?: number

    Decode the image scaled down, aspect kept, so that neither side is over this many pixels (an integer 1–4096); smaller images stay as they are. Use about twice the drawn size (64 for a 32 px logo) so that it stays sharp on high-density screens. It keeps the decoded memory small: a 1024×1024 icon is 4 MB decoded, 16 KB at maxSide: 64.

    0.5.1