Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Components per color item: 3 (RGB) or 4 (RGBA). Read from the LOGICAL shape — for encoded arrays the stored shape can differ (e.g. a LUT holds codes), so encoding.original_shape wins when present. Anything without a 2-D shape reports 3 (the historical layout).

      Parameters

      • array: Array<DataType, Readable>

      Returns 3 | 4