supervision-js
    Preparing search index...

    Function cappedResolution

    • Decode at no more than maxWidth regardless of display size. For consumers with a hard throughput or memory ceiling (batch surfaces, thumbnail farms).

      Parameters

      • maxWidth: number

      Returns DecodeResolutionStrategy